OK, that code didn't work, so here's a tested Function...
Again it uses the old string handling functions, as I couldn't get it to work with the new methods.
Function FormatNumber:String(num:Float,places) Local output:String output=Int(num*(10^places)) Return Left(output,Len(output)-places)+"."+Right(output,places) End Function
Again it uses the old string handling functions, as I couldn't get it to work with the new methods.