Fix FormatCurrency, Cleanup Code, Daily Run.
This commit is contained in:
@@ -544,6 +544,7 @@ namespace MarketData.Utils
|
||||
if (String.IsNullOrEmpty(str)) return str;
|
||||
if (number < 0.00 && !str.StartsWith("("))
|
||||
{
|
||||
str = str.Replace("-", null);
|
||||
return "(" + str + ")";
|
||||
}
|
||||
return str;
|
||||
|
||||
Reference in New Issue
Block a user