# "NaN" what the heck does that mean?

**URL:** <https://forum.kirupa.com/t/nan-what-the-heck-does-that-mean/111170>\
**Category:** Uncategorized\
**Created:** [May 24, 2004, 1:08pm UTC](https://forum.kirupa.com/t/nan-what-the-heck-does-that-mean/111170 "2004-05-24T13:08:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![natronp](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@natronp](https://forum.kirupa.com/u/natronp)\
**Post date:** [May 24, 2004, 1:08pm UTC](https://forum.kirupa.com/t/nan-what-the-heck-does-that-mean/111170/1 "2004-05-24T13:08:13Z")

</div>

okay, i’m trying to make the photo gallery (the one from the kirupa tutes). it loads the first image okay. when I click on the next button i get  
“Nan” repeating in the output window (test movie).

anybody know what the heck that means?

thanks

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 26, 2004, 12:38pm UTC](https://forum.kirupa.com/t/nan-what-the-heck-does-that-mean/111170/2 "2004-05-26T12:38:38Z")

</div>

how to simply convert string to a number. I my case i have a external var called &delay = 100. but i think as doesn’t see it as a number but as a string
