# 7.4 NaN is now nan

**URL:** <https://forum.inductiveautomation.com/t/7-4-nan-is-now-nan/4542>\
**Category:** Ignition\
**Created:** [May 29, 2012, 6:22pm UTC](https://forum.inductiveautomation.com/t/7-4-nan-is-now-nan/4542 "2012-05-29T18:22:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [May 29, 2012, 6:22pm UTC](https://forum.inductiveautomation.com/t/7-4-nan-is-now-nan/4542/1 "2012-05-29T18:22:35Z")

</div>

I have noticed that after upgrading from 7.3 to 7.4 that screens that use to look for “NaN” in datasets is failing because it is now “nan”. Was this suppose to happen? Am I suppose to look the for not a numbers some other way so my screens do not break in the future?

Thank you,

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [June 7, 2012, 6:55pm UTC](https://forum.inductiveautomation.com/t/7-4-nan-is-now-nan/4542/2 "2012-06-07T18:55:02Z")

</div>

This isn’t anything that I’m aware of, which means it’s probably an unintentional side effect of something else. Where exactly are you doing the logic to compare it to “NaN”? An expression? A Script?

---

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [June 7, 2012, 7:11pm UTC](https://forum.inductiveautomation.com/t/7-4-nan-is-now-nan/4542/3 "2012-06-07T19:11:28Z")

</div>

I am looping through a dataset from a table component on the event mousePressed(). I am looking for “NaN” in the cell.

```auto
if(str(cell) == "NaN"):
     cell = ''
```

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [June 7, 2012, 8:53pm UTC](https://forum.inductiveautomation.com/t/7-4-nan-is-now-nan/4542/4 "2012-06-07T20:53:17Z")

</div>

It’s a side effect from the [P|J]ython 2.1 -\> 2.5 upgrade. It’s ‘nan’ now, not ‘NaN’. I think you’ll also find ‘Infinity’ is now ‘inf’.
