Question
How to round numbers to hundreds
I'm using following javascript to make the calculation result round to hundreds. If calculation result is 19999,then a = 19900
a=Math.floor(b*0.0003/100)*100
Am I doing right?
I'm using following javascript to make the calculation result round to hundreds. If calculation result is 19999,then a = 19900
a=Math.floor(b*0.0003/100)*100
Am I doing right?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.