I've had funky number conversions from Microsoft before. This kind of thing is just too annoying.
This:
float v = 3.28F;
Debug.WriteLine(string.Format("float={0}\ndouble={1}", v, Convert.ToDouble(v)));
Gets you:
float=3.28 double=3.27999997138977
Um, yeah.

New Topic/Question
Reply




MultiQuote






|