in reply to Rounding
$rounded=sprintf ("%.1f",$r+.05);
This solves your problem :-)
This solves your problem :-)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Rounding
by Aristotle (Chancellor) on Sep 23, 2002 at 09:26 UTC | |
by admiraln (Acolyte) on Sep 23, 2002 at 14:04 UTC | |
by fglock (Vicar) on Sep 23, 2002 at 14:11 UTC | |
by Aristotle (Chancellor) on Sep 23, 2002 at 17:06 UTC |
In Section
Seekers of Perl Wisdom