support decimal, octal and hexdecimal integers