decimal
Convert a numeric string in any radix to a decimal number.
Syntax
Section titled “Syntax”v = decimal(number, radix)Description
Section titled “Description”Inverse of base. Parses the string number as a numeral in base radix (2–36) and returns its decimal value.
Examples
Section titled “Examples”decimal('FF', 16) % 255decimal('1010', 2) % 10