go ahead... be a heretic | |
PerlMonks |
Re: int($x) gives strange resultby busunsl (Vicar) |
on Aug 24, 2009 at 06:31 UTC ( [id://790751]=note: print w/replies, xml ) | Need Help?? |
If you just want to cut off decimal places you can use the sprintf function:
In Section
Seekers of Perl Wisdom
|
|