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'
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: rounding to nearest
by dakkar (Hermit) on Mar 22, 2003 at 09:18 UTC | |
Re: rounding to nearest
by rob_au (Abbot) on Mar 22, 2003 at 09:21 UTC | |
Re: rounding to nearest
by mojotoad (Monsignor) on Mar 22, 2003 at 15:40 UTC | |
Re: rounding to nearest
by dws (Chancellor) on Mar 22, 2003 at 10:15 UTC |
Back to
Seekers of Perl Wisdom