P
Patrick De Ridder
Is it possible to change this function into
a string override? So I could just say
d.ToString()
Patrick
private string reformat(double d)
{
NumberFormatInfo nfi = new CultureInfo("").NumberFormat;
nfi.NumberDecimalSeparator=".";
nfi.NumberGroupSeparator="";
return d.ToString( "N", nfi ) ;
}
a string override? So I could just say
d.ToString()
Patrick
private string reformat(double d)
{
NumberFormatInfo nfi = new CultureInfo("").NumberFormat;
nfi.NumberDecimalSeparator=".";
nfi.NumberGroupSeparator="";
return d.ToString( "N", nfi ) ;
}