Forum Discussion
cjhoward18
6 years agoEmployee
a number prefixed with 0 that is not a decimal(0.0004) is using the octal numbering system, which is a base-8 numbering system in which there are only digits 0-7. An Integer must lead with non 0 represented by this regex:
0 | [1-9][0-9]*
whereas octal is: 0 [0-7]+