Output
Calling the .base
method on a number returns a string. It can handle all bases between 2 and 36:
Alternatively, printf
can be used for some common number bases:
Last updated
Calling the .base
method on a number returns a string. It can handle all bases between 2 and 36:
Alternatively, printf
can be used for some common number bases:
Last updated