Perl-Sensitive Sunglasses | |
PerlMonks |
Re^5: float values and operatorsby dave_the_m (Monsignor) |
on Aug 11, 2004 at 21:11 UTC ( [id://382094]=note: print w/replies, xml ) | Need Help?? |
Hrm, that's what I get, too. So why doesn't the imprecision show up when you print the variables out?Because print doesn't print the full precision of its args. That's what printf is for:
Dave.
In Section
Seekers of Perl Wisdom
|
|