I have encountered an odd bug.  In the process of creating a little numeric 
stepper component (a text box with an up/down stepper beside it) I have found 
an odd rounding error.  Starting from 0.0 and adding 0.1 increments, I get the 
follow console output.  

currentNumber: 0 increment: 0.1
result: 0.1

currentNumber: 0.1 increment: 0.1
result: 0.2

currentNumber: 0.2 increment: 0.1
result: 0.30000000000000004

As you can see, .2 + .1 is yielding 0.30000000000000004.  This behaviour 
happens at at many numbers actually.   

You can verify this yourself by simply doing a: trace( (0.1 + 0.2) );

The other flex developer at our company can also see this error, so I don't 
think it's isolated to my box or particular build.  Does anyone know anything 
about this?

Reply via email to