# Try() expression doesn't catch dividing by zero?

**URL:** <https://forum.inductiveautomation.com/t/try-expression-doesnt-catch-dividing-by-zero/76149>\
**Category:** Ignition\
**Created:** [July 10, 2023, 6:09pm UTC](https://forum.inductiveautomation.com/t/try-expression-doesnt-catch-dividing-by-zero/76149 "2023-07-10T18:09:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [July 10, 2023, 6:12pm UTC](https://forum.inductiveautomation.com/t/try-expression-doesnt-catch-dividing-by-zero/76149/2 "2023-07-10T18:12:48Z")

</div>

> [@Expression Divide By 0](https://forum.inductiveautomation.com/t/expression-divide-by-0/21434/5):
>
> try() wraps the expression evaluation in a try/catch and if an exception is caught uses the bailout value. Divide by None will throw an exception, divide by 0 is infinity, no exception thrown. Seems reasonable to me!

---

_[View the full topic](https://forum.inductiveautomation.com/t/try-expression-doesnt-catch-dividing-by-zero/76149)._
