Pathologically Eclectic Rubbish Lister | |
PerlMonks |
rounding to nearestby Cockneyphil (Acolyte) |
on Mar 22, 2003 at 09:08 UTC ( [id://245110]=perlquestion: print w/replies, xml ) | Need Help?? |
Cockneyphil has asked for the wisdom of the Perl Monks concerning the following question:
how can i round a variable (lets say $price = 418.00 ;) to the nearest 10 ie '420.00'
Back to
Seekers of Perl Wisdom
|
|