Rounding Function
Monkey Targets Forums/iOS/Rounding Function
| ||
I have this function which works for most targets but not iOS:Function Round:Float(N:Float, DecimalPlaces:Int) Return Float(Int(N * Pow(10.0,DecimalPlaces))) / Pow(10.0,DecimalPlaces) End Function Any idea how to get this to work on iOS? |
| ||
I would also like to know this. |