
mhx
Enthusiast
/ Moderator
Mar 29, 2002, 9:17 AM
Post #3 of 3
(194 views)
|
|
Re: [RedRum] Function for rounding up
[In reply to]
|
Can't Post
|
|
print sprintf "%.2f", $num; ... or just ... [perl] printf "%.2f", $num; [/perl] -- mhx
At last with an effort he spoke, and wondered to hear his own words, as if some other will was using his small voice. "I will take the Ring," he said, "though I do not know the way."-- Frodo
|