# Integer or decimal

**URL:** <https://forum.kirupa.com/t/integer-or-decimal/160975>\
**Category:** flash\
**Created:** [August 31, 2005, 1:54am UTC](https://forum.kirupa.com/t/integer-or-decimal/160975 "2005-08-31T01:54:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chapster](https://avatars.discourse-cdn.com/v4/letter/c/958977/32.png) [@chapster](https://forum.kirupa.com/u/chapster)\
**Post date:** [August 31, 2005, 1:54am UTC](https://forum.kirupa.com/t/integer-or-decimal/160975/1 "2005-08-31T01:54:48Z")

</div>

How can you tell rfom a variable if the number it is holding is a whole number or its holding a decimal number

```auto

var num=55.234;

```

How can I check to see if variable num is 55.234 or if it is 55
