# Odd, Even, or Prime

**URL:** <https://forum.kirupa.com/t/odd-even-or-prime/273277>\
**Category:** Uncategorized\
**Created:** [October 13, 2008, 9:32pm UTC](https://forum.kirupa.com/t/odd-even-or-prime/273277 "2008-10-13T21:32:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rosey500](https://avatars.discourse-cdn.com/v4/letter/r/b3f665/32.png) [@Rosey500](https://forum.kirupa.com/u/Rosey500)\
**Post date:** [October 13, 2008, 9:32pm UTC](https://forum.kirupa.com/t/odd-even-or-prime/273277/1 "2008-10-13T21:32:57Z")

</div>

Hello,

```
 Again, pardon me if this post has already been "posted"-still getting the hang of this forum. Anyway I want to make a site which where a user inputs a number and Flash will tell if it's odd or even. The actual determination is the easy part, but I have had no success in forcing the text field to treat a number like a number-and then access it via the function. I know that parseInt() changes strings to numbers but I can't get the syntax right. Help!

```

Thanks,  
David
