I wanna round an value in a javascript Down to nearest hundred.
For example: 3234 = 3200 and 3890 = 3800
Always down and to hundred.
I have tried Math.floor but that just round down to ten.
Is there any way 2 do this??
Regards
/Henke
For example: 3234 = 3200 and 3890 = 3800
Always down and to hundred.
I have tried Math.floor but that just round down to ten.
Is there any way 2 do this??
Regards
/Henke
Comment