in reply to How to give format to numbers?
format any of these formats of numbers to a decimal with two places (#.00)
printf and it's good friend sprintf were born to do your bidding along these lines, my friend. I'd recommend a good, long look at perlfaq4; it touches upon this issue, as well as your rounding problems.
Good luck!
Edited for quick grammar cleanup...----Asim, known to some as Woodrow.
|
|---|