in reply to Re: finding the correct integer
in thread finding the correct integer

another nitpick, the OP asked for int not rounding

please compare:

DB<6> print int 0.65049 / 0.0001; 6504 DB<7> printf("%4.0f\n", 0.65049 / 0.0001); 6505 DB<8>

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery