http://www.perlmonks.org?node_id=11124393

YarNik has asked for the wisdom of the Perl Monks concerning the following question:

What other options are there for finding the correct integer? I tried but got an error:
use POSIX; print int(0.6505 / 0.0001); print "\n"; print sprintf("%d", 0.6505 / 0.0001);
-> 6504 need 6505