in reply to printf rounding issue
1/1000 is a periodic number in binary like 1/3 is in decimal. As such, it can't be represented exactly in a floating point number.
By the way, FILEHANDLER should be FILEHANDLE. It's a handle (something you hold on to), not a handler (code that handles an event).
|
|---|