# How to represent decimal no

**URL:** <https://forum.kirupa.com/t/how-to-represent-decimal-no/245815>\
**Category:** Uncategorized\
**Created:** [December 4, 2007, 3:18pm UTC](https://forum.kirupa.com/t/how-to-represent-decimal-no/245815 "2007-12-04T15:18:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kookaburra](https://avatars.discourse-cdn.com/v4/letter/k/f475e1/32.png) [@kookaburra](https://forum.kirupa.com/u/kookaburra)\
**Post date:** [December 4, 2007, 3:18pm UTC](https://forum.kirupa.com/t/how-to-represent-decimal-no/245815/1 "2007-12-04T15:18:42Z")

</div>

As we all know in flash,  
Number(‘077’) = 63 coz it treats it as octal if you start your no. with one zero.  
Number(‘0011’) = 9, binary for the numbers starting with 2 zeroes.  
Number(‘0XFF’) = 255, hex for the numbers starting with 0x.

Is there any way to specifically tell flash to consider the number to be **decimal only**?
