Computation :: Base Conversion
- base_convert(number, oldbase, newbase)
- Returns a number converted from one base as another base.
- bin_to_dec(bin)
- Returns an integer converted from a binary string.
- bin_to_fraction(bin)
- Returns a decimal fraction converted from a binary string.
- bin_to_hex(bin)
- Returns a hexadecimal string converted from a binary string.
- dec_to_bin(dec, len)
- Returns a given value as a string of binary digits.
- dec_to_hex(dec, len)
- Returns a given value as a string of hexadecimal digits.
- dec_to_oct(dec, len)
- Returns a given value as a string of octal digits.
- dec_to_roman(num)
- Returns a Roman numeral string converted from an integer.
- fraction_to_bin(fraction, length)
- Returns a binary string converted from a decimal fraction.
- hex_to_bin(hex)
- Returns a binary string converted from a hexadecimal string.
- hex_to_dec(hex)
- Returns an integer converted from an hexadecimal string.
- oct_to_dec(oct)
- Returns an integer converted from an octal string.
- roman_to_dec(roman)
- Returns an integer converted from a Roman numeral string.