SyntaxFix
Write A Post
Hire A Developer
Questions
You can simply use decimal.ToString()
For two decimals
myDecimal.ToString("0.00");
For four decimals
myDecimal.ToString("0.0000");
This gives dot as decimal separator, and no thousand separator regardless of culture.