![]() |
roundTo()
Here's a function for rounding to different places (tenths place, hundredths place, etc etc)
PHP Code:
PHP Code:
|
Very nice! I might use that later, thanks a ton :)
|
Thank Stan for having me make it. lol
|
Awesome! I can help 5th Graders with there math homework...on Graal!
Purely, in all standards, deserving the name of v6. |
Heh, Graal should be called a Massive Multiplayer Calculator. ;P
|
Useful but this is a much shorter, simpler and overall less cpu-use way to do it:
(also supports more then just 0.1, 0.01, 0.001, etc.) PHP Code:
PHP Code:
PHP Code:
Basically this just takes value and rounds it to the closest "place". (Didn't see this thread till just now >_<) |
I hate you...;-;
|
Quote:
But oh well, now you are stronger. |
lol, nice way of putting it
|
I'm sorry :(
|
thank you. I can round up! :)
rep++ @ Zokemon |
Quote:
|
Quote:
|
Quote:
|
All times are GMT +2. The time now is 04:45 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.