Why would double.TryParse() with these settings not parse
double.TryParse("1.035,00",
NumberStyles.AllowCurrencySymbol | NumberStyles.AllowLeadingWhite | NumberStyles.AllowTrailingWhite |
NumberStyles.AllowDecimalPoint | NumberStyles.AllowLeadingSign,
GlobalSettings.Instance.DefaultCulture, out price);
where DefaultCulture is sl-SI (Slovenian), which has the dot . as digit grouping symbol and , as decimal point. The price remains 0 after the parse.
?
You are missing
NumberStyles.AllowThousands: