Where Round in monkey ?

Monkey Forums/Monkey Programming/Where Round in monkey ?

Rushino(Posted 2013) [#1]
Hello,

I am looking for a round fonction.. any idea where it is located in monkey ?

Thanks!


ziggy(Posted 2013) [#2]
To round a number?
Here:
Function Round:Int(value:Float)
   Return value + 0.5 * Sgn(value)
End



Rushino(Posted 2013) [#3]
Thanks! That what i was looking for.