Perl: the Markov chain saw | |
PerlMonks |
NV/IV Bug ?by MZSanford (Curate) |
on Feb 27, 2003 at 18:19 UTC ( [id://239188]=perlquestion: print w/replies, xml ) | Need Help?? |
MZSanford has asked for the wisdom of the Perl Monks concerning the following question: The following code does not work as i would expect. I was wondering if anyone knows why 1.15*100 acts diffrent under int(). My original code is below :
This prints :
This was tested on
A shorter version of this would be :
I know NV conversion is always open to a fudge-factor, but this seems pretty tame to be effected by that. Any help is appriciated. from the frivolous to the serious
Back to
Seekers of Perl Wisdom
|
|