i'm having problems with some really basic calculations, i dont know whether it's a bug w/ flash, or if there's something wrong with my script.. the scenerio is like this, i have some buttons for the users to click on the following items:
0.01, 0.05, 0.10, 0.25, 1.00, 2.00, 5.00, 10.00, 20.00...
var x=8.7
place a button with the following script
on(release){
trace(x--)
}
see that x=0.6999999 after 8 clicks
i have some calculations in my project
and i cant multiply by 10 and than to divid by 10 for every calculation
please help
thank you very much
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.