I need help using the "ceil" function to round out numbers
Hi All,
Finally got to where i want with my app. I just need to round out my numbers out output to
10ths, without 4 places after the decimal so a reading of 8.2345 would read 8.2
My current code is Display text:
atan(game.Accelerometer.X)+45
Where would I add my ceil function to achieve this.
Thank you
Finally got to where i want with my app. I just need to round out my numbers out output to
10ths, without 4 places after the decimal so a reading of 8.2345 would read 8.2
My current code is Display text:
atan(game.Accelerometer.X)+45
Where would I add my ceil function to achieve this.
Thank you
Comments
So you will need to do (floor((atan(game.Accelerometer.X)+45)*10))/10