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


in reply to My numbers are rounded down...

You ought to read perlnumber, especially the part on Numeric operators and numeric conversions.

Reading this and this also might do you some good.

perl -le"$a='337587917446653715596592958817679803';print for $a, 1+$a"

 
______crazyinsomniac_____________________________
Of all the things I've lost, I miss my mind the most.
perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"