hello
i have a problem
i have a number stored in a variable , the number is lets say : 23.56789 and many other digits
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
hello
i have a problem
i have a number stored in a variable , the number is lets say : 23.56789 and many other digits
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
but if anyone has a better method iām listening
_global.rx=Math.round(_global.rx*100)/100;
:: Copyright KIRUPA 2024 //--