c# double to string with 0 decimal places code example
Example: C# decimal with two places store as string with two places
public static string DoFormat( double myNumber )
{
var s = string.Format("{0:0.00}", myNumber);
return s;
}
public static string DoFormat( double myNumber )
{
var s = string.Format("{0:0.00}", myNumber);
return s;
}