Convert between different number bases from the terminal!
Just enter the output base and then the number. If no output base entered then it is assmued to be dec.
# cvn hex 638
0x273
# cvn 0x42
66
# cvn 0b10110011
179
Here are the supported names:
| Name | prefix |
|---|---|
| bin | "0b" |
| oct | "0o" |
| dec | "" |
| hex | "0x" |