G
Guest
Hi,
Anyone know why "s" equals "0.0870000000000000000000" after the following
lines execute?
Thanks,
Nate
double d = 0.087000000000000008;
string s = string.Format("{0:f22}", d);
Anyone know why "s" equals "0.0870000000000000000000" after the following
lines execute?
Thanks,
Nate
double d = 0.087000000000000008;
string s = string.Format("{0:f22}", d);