A
aleatory
Good afternoon perl gurus,
Once again I have a question on perl.
How could I round up/down numbers? For
instance:
| 2.456 <--original number
| 3 <--rounding up
| 2 <--rounding down
| 2.46 <--rounding up but keeping
| the last two digits after
| the decimal point
After reading "Beginning Perl" by Simon
Cozens, I just don't find any information
regarding these.
As before any information is appreciated.
Many thanks in advance,
alea
Once again I have a question on perl.
How could I round up/down numbers? For
instance:
| 2.456 <--original number
| 3 <--rounding up
| 2 <--rounding down
| 2.46 <--rounding up but keeping
| the last two digits after
| the decimal point
After reading "Beginning Perl" by Simon
Cozens, I just don't find any information
regarding these.
As before any information is appreciated.
Many thanks in advance,
alea