Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Perl
Perl Misc
Rounding Up/Down Numbers
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="aleatory, post: 4757858"] 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 [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Perl
Perl Misc
Rounding Up/Down Numbers
Top