SyntaxFix
Write A Post
Hire A Developer
Questions
Instead of replace we can force culture like
var x = decimal.Parse("18,285", new NumberFormatInfo() { NumberDecimalSeparator = "," });
it will give output 18.285