# Xojo divides by ZERO?

**URL:** <https://forum.xojo.com/t/xojo-divides-by-zero/69235>\
**Category:** General\
**Created:** [March 24, 2022, 1:16pm UTC](https://forum.xojo.com/t/xojo-divides-by-zero/69235 "2022-03-24T13:16:12Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Paul\_Lefebvre](https://forum.xojo.com/user_avatar/forum.xojo.com/paul_lefebvre/32/3152_2.png) [@Paul\_Lefebvre](https://forum.xojo.com/u/Paul_Lefebvre)\
**Post date:** [March 24, 2022, 1:33pm UTC](https://forum.xojo.com/t/xojo-divides-by-zero/69235/5 "2022-03-24T13:33:15Z")

</div>

Xojo is not a language that has ever raised an exception for divide by 0. Docs say:

> If you divide by zero, the result is positive or negative infinity, except if the numerator is also zero. In that case, the result is NaN. For that reason, you should always check to see whether the denominator is zero before using **/**.

---

_[View the full topic](https://forum.xojo.com/t/xojo-divides-by-zero/69235)._
