This content has been marked as final. Show 4 replies
P.S. the ClipButton class is just button behaviours on a movie clip: up, over, down. It's what I use instead of Flash Buttons.
0 = -4.44089209850063e-16 within 15 digits which is the limit of accuracy within flash.
But why doesn't it return the whole numeral 0? And how do I get it to without rounding to whole numbers? I just want 0 and, in fact, I need it, for the rest of my script to work.
1. because your computer uses binary arithmatic.
2. you must round to get zero but you don't need to round to whole numbers. you can round to within 15 digits and then you'll get zero and won't loose any significant accuracy for most purposes.