SyntaxFix
Write A Post
Hire A Developer
Questions
Probably a variant of the other examples, but I use this method to also make sure a dot is shown before the decimal places and not a comma:
someValue.ToString("0.00", CultureInfo.InvariantCulture)