# Very odd math mismatch when using IF...THEN

**URL:** <https://forum.xojo.com/t/very-odd-math-mismatch-when-using-if-then/58500>\
**Category:** General\
**Created:** [November 5, 2020, 9:15am UTC](https://forum.xojo.com/t/very-odd-math-mismatch-when-using-if-then/58500 "2020-11-05T09:15:19Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![ChristopheDV](https://forum.xojo.com/letter_avatar_proxy/v4/letter/c/59ef9b/32.png) [@ChristopheDV](https://forum.xojo.com/u/ChristopheDV)\
**Post date:** [November 5, 2020, 9:37am UTC](https://forum.xojo.com/t/very-odd-math-mismatch-when-using-if-then/58500/10 "2020-11-05T09:37:12Z")

</div>

It seems to be a compiler issue.

> [@Something funky about UInt32 comparisons](https://forum.xojo.com/t/something-funky-about-uint32-comparisons/57447/182):
>
> As Geoff said multiple times, this behavior is 10+ years old and by design. It looks like there is now a feature request for this. If it is important to you please see the case: [https://xojo.com/issue/61921](https://xojo.com/issue/61921)

---

_[View the full topic](https://forum.xojo.com/t/very-odd-math-mismatch-when-using-if-then/58500)._
