Fix update etf holdings
This commit is contained in:
@@ -303,6 +303,15 @@ namespace MarketData.Utils
|
||||
return double.NaN;
|
||||
}
|
||||
}
|
||||
|
||||
public static bool IsNumeric(String strText)
|
||||
{
|
||||
strText=strText.Replace("%", "");
|
||||
strText = strText.Replace("$", "");
|
||||
double value = 0.00;
|
||||
return double.TryParse(strText, out value);
|
||||
}
|
||||
|
||||
public static long ParseValueLong(String strText)
|
||||
{
|
||||
long value;
|
||||
|
||||
Reference in New Issue
Block a user