Correct decimal format
using System.Globalization;
Decimal test = 20.00;
test.ToString(CultureInfo.InvariantCulture.NumberFormat);
Written by Marcus Olsson
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Format
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#