Tags


System.Globalization.NumberFormatInfo nfi = new System.Globalization.NumberFormatInfo();

nfi.CurrencyDecimalDigits = 0;

nfi.CurrencySymbol =
"$";
return String.Format(nfi, "{0:C}", dValue).Replace("$", "");

Advertisements