c# round decimal to 5 places but remove the extra 0 code example
Example: C# trim trailing zero
public static decimal Normalize(this decimal value)
{
return value/1.000000000000000000000000000000000m;
}
public static decimal Normalize(this decimal value)
{
return value/1.000000000000000000000000000000000m;
}