I Have used following code to format decimals
return string.Format(CultureInfo.CreateSpecificCulture("nb-NO"), "{0:N3}", decVal);
If the decVal do not contain decimals I do not want to show decimal points but I want to show the figure with the correct formatting without zero s , How to perform this ?