# Problem: the output field displays NaN even if input is a number!

**URL:** <https://forum.kirupa.com/t/problem-the-output-field-displays-nan-even-if-input-is-a-number/15267>\
**Category:** flash\
**Created:** [March 12, 2003, 9:59am UTC](https://forum.kirupa.com/t/problem-the-output-field-displays-nan-even-if-input-is-a-number/15267 "2003-03-12T09:59:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![comicGeek](https://avatars.discourse-cdn.com/v4/letter/c/90db22/32.png) [@comicGeek](https://forum.kirupa.com/u/comicGeek)\
**Post date:** [March 12, 2003, 9:59am UTC](https://forum.kirupa.com/t/problem-the-output-field-displays-nan-even-if-input-is-a-number/15267/1 "2003-03-12T09:59:47Z")

</div>

I have five input textfields that is used in a formula. The problem is the fifth input field (in5). When I typed in a nnumber with a decimal (0.55) the output fields displays NaN. Also if I placed in anegative number the outputs will have NaN. The other four input field (in1-in4) doesn’t have this problem. I tried place a

in5 = Number(in5);

but it doesn’t work!

Anybody have any idea how to go about this problem?

Thanks.
