Converts a number (number or string) from its current base to the target base.
number
string
The number to convert.
The current base of num.
num
The base to convert to.
Converts a number (
numberorstring) from its current base to the target base.