Try it Live
Run Uint examples in the interactive playground
Radix Support
Decimal (base 10)
Hexadecimal (base 16)
For hex with 0x prefix, use toHex() instead.
Binary (base 2)
Octal (base 8)
See Also
- toHex - Convert to hex (with 0x prefix)
- toBigInt - Convert to BigInt