You are currently viewing the GMLscripts.com static mirror. Forum access and script submissions are not available through this mirror.

Invert GMLscripts.com

Computation :: Base Conversion

base_convert(number,oldbase,newbase)
Returns a string of digits representing the given number converted form one base to another.
bin_to_dec(bin)
Returns a non-negative integer (real) representing the given binary string.
bin_to_fraction(bin)
Returns a decimal fraction (real) representing the given binary string.
bin_to_hex(bin)
Returns a string of hexadecimal digits representing the given binary string.
dec_to_bin(dec)
Returns a string of binary digits (1 bit each) representing the given decimal integer.
dec_to_hex(dec)
Returns a string of hexadecimal digits (4 bits each) representing the given decimal integer.
dec_to_oct(dec)
Returns a string of octal digital (3 bits each) representing the given decimal integer.
dec_to_roman(num)
Returns a string of Roman numerals representing the given integer.
fraction_to_bin(value,size)
Returns a string of binary digits (1 bit each) representing the given decimal fraction.
hex_to_bin(hex)
Returns a string of binary digits (1 bit each) representing the given hexadecimal string.
hex_to_dec(hex)
Returns a decimal integer (real) representing the given hexadeciaml string.
oct_to_dec(oct)
Returns a decimal integer (real) representing the given octal string.
roman_to_dec(roman)
Returns a decimal integer (real) representing the given Roman numeral string.