in reply to Re: shocking imprecision
in thread shocking imprecision
Actually, that's why sprintf and printf are recommended:
perl -E 'say int(-1.2 + .5); printf("%d\n",-1.2)'One of those is going to send the Monk back here with more questions :)
Cheers,
Ovid
|
---|
In Section
Seekers of Perl Wisdom