Digit precision

hello

i have a problem

i have a number stored in a variable , the number is lets say : 23.56789 and many other digits :slight_smile:

i want to round it up to : 23.57

how do I do that in flash ? i only know how to round it up to an integer

please heeelp

the digits are so many because the number is a result of a divide operation

ok, i solved my problem :slight_smile:

but if anyone has a better method iā€™m listening :wink:

_global.rx=Math.round(_global.rx*100)/100;