Watch Out for Number Conversion Errors May 3, 2006March 7, 2009 kwong Converting from floating point numbers (e.g. double, single) to integers can be tricky.