# Is this an AS bug? I'm lost

**URL:** <https://forum.kirupa.com/t/is-this-an-as-bug-im-lost/233827>\
**Category:** Uncategorized\
**Created:** [July 27, 2007, 10:01am UTC](https://forum.kirupa.com/t/is-this-an-as-bug-im-lost/233827 "2007-07-27T10:01:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Charleh](https://avatars.discourse-cdn.com/v4/letter/c/a9a28c/32.png) [@Charleh](https://forum.kirupa.com/u/Charleh)\
**Post date:** [July 27, 2007, 10:01am UTC](https://forum.kirupa.com/t/is-this-an-as-bug-im-lost/233827/1 "2007-07-27T10:01:34Z")

</div>

Anyone got any idea why these statements evaluate to false?

I’ve stepped through and the \_x values work every time - but the \_y - randomly fails.

How can if(400 == 400) evaluate to false?

I originally had one if evaluation - then I split it up to try and figure out why it didn’t work in some instances…

Now I put in a test just to see if AS is even making sense…

Sometimes it doesn’t get to that ‘return true’ line even though on debugger step through everything appears to be true…

Is this a floating point rounding issue? These values are calculated…
