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 to 2 decimal places
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="Anno Siegel, post: 4750095"] Then help it along. Financial calculations are best done in the smallest unit of currency. Multiply by 100 on input, divide by 100 on output. That would make the problem with ceil() go away, because you only *have* integers. ceil( 100*$x)/100 Oh, and you could put question marks after your questions. You sound over-assertive without them :) Anno [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Perl
Perl Misc
Rounding up to 2 decimal places
Top