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).
In reply to Re: printf rounding issue
by ikegami
in thread printf rounding issue
by vishy_acts
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |