Multiple numeration systems
Use :
- 0xAAAAA - for hexadecimal numeration system
- 0c17272 for octal numeration system
- 0c1232+0c3734
- 0bAAAAA for binary numeration system
- 0b10101+0b111
- base(a,to,from) for converting number a from base "from" to base "to"
- bin(a) for converting number a from base 10 to base 2, i.e. converts from decimal representation to binary
- dec(a,from) for converting number a from base from to base 10,
- hex(a) for converting number a from base 10 to base 16, i.e. returns a string representing the hexadecimal value of a number