$convertNumber

Converts an integer number from one radix to another.
Syntax
    $convertNumber {integer_number}{source_radix}{target_radix}
DocumentationConverts an integer number from one radix to another:

    Parameters:
      integer_number, to integer number to be converted to another radix
      source_radix, the radix of the number
      target_radix, the radix the integer_number is to be converted to
    Returns:
      the number converted from source_radix to target_radix
    Throws:
      a java.lang.NumberFormatException if: the argument integer_number has a zero length or contains any character that is not a digit of the specified radix or is not representable as a number of the source_radix the arguments source_radix is out of bounds of 2 through 36
    Note:
      if the argument target_radix is out of bounds of 2 through 36, then the value 10 is used instead.
Examples
Convert the hexadecimal value f to the decimal 15:
    $convertNumber{F}{16}{10}
Convert the decimal value 11 to the hexadecimal b:
    $convertNumber{11}{10}{16}
The following situations cause $convertNumber to throw an NumberFormatException:
    $convertNumber{99}{8}{16}
    $convertNumber{Hazelnut}{10}{8}
    $convertNumber{99}{38}{8}
    $convertNumber{}{10}{8}
    $convertNumber{-}{10}{8}
The following situation causes $convertNumber to incorrectly return a decimal number (99):
    $convertNumber{99}{10}{38}
GroupMath
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters3
Maximum parameters 3