Neat. This may actually be a Flash bug. Here's the
...and here's the trace:
So it explains why the number is being rounded the way it is
the result is wrong. This might be something to bring to
> I try thist:
> trace(Math.round(1.265*100)/100); Flash Result: 1.26
Error, the correct answer it's 1.27
> Any Ideas?
http://www.baynewmedia.com Faster, easier, better...ActionScript development taken to
Download the BNMAPI today. You'll wonder how you ever did
Available for ActionScript 2.0/3.0.