P
Pascal Cloup
Hello,
the property NumberFormatInfo.NumberDecimalDigits seems to have no effect
when converting a number. Ex:
NumberFormatInfo aNumberFormatInfo = new NumberFormatInfo();
double a=0;
string s;
aNumberFormatInfo .NumberDecimalDigits = 1;
s = a.ToString( aNumberFormatInfo );
never creates a string equal to "0.0"
Is this normal?
Thanks
Pascal
the property NumberFormatInfo.NumberDecimalDigits seems to have no effect
when converting a number. Ex:
NumberFormatInfo aNumberFormatInfo = new NumberFormatInfo();
double a=0;
string s;
aNumberFormatInfo .NumberDecimalDigits = 1;
s = a.ToString( aNumberFormatInfo );
never creates a string equal to "0.0"
Is this normal?
Thanks
Pascal