Is there any way to round numbers to the hundredths decimal?
Lazybonez
Member Posts: 9
Hi
In my app, I've used tables to calculate and display the W/L ratio of user. One thing I can't figure out is how to round the numbers to the hundredths decimal. The recurring decimal places are not fit for the app.
Does anyone know how this is done? I know it's possible, but I just can't figure it out.
Comments
Would this function work for you?
precision (Function): Displays a floating point number with the specified number of decimal places. For instance,prec(1234.234,2) will display 1234.23.
All of the functions are listed here:
http://forums.gamesalad.com/discussion/69280/old-cookbook-definitions-page
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Yep, that's it! Thanks a ton I knew it had to be something simple.
awesome!
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page