in reply to Re: perl floating number addition
in thread perl floating number addition
For illustration, printf("%3.2f\n",$_) for (3.2,32.2,322.2) gives:
3.20 32.20 322.20
while printf("%6.2f\n",$_) for (3.2,32.2,322.2) gives:
3.20 32.20 322.20
--
I'd like to be able to assign to an luser
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: perl floating number addition
by biohisham (Priest) on Jul 18, 2009 at 14:12 UTC |