A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Joined: Oct 04, 2007
Apr 07, 2008 15:46:00
I need to round eg: 16.490000000000002 to 16.49 (rounded up to the nearest 0.05) i tried this
considering 0.05 as round factor ,but its still the same. Any help is appreciated.
Joined: Aug 31, 2004
Apr 07, 2008 17:19:00
Look at the
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award."
Don't get me started about those stupid
Rounding off numbers?
coding problem about Sales Taxes
Rounded up to the nearest 0.05
Rounding decimal number to nearest 0.05
rounding off in java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014