Home } Equivalents } Base Converter



Converts input between binary, ternary, quintal, octal, decimal, and hexadecimal bases. Try entering a string of zeroes and ones in the binary field - when you click off, the script displays that number of the other bases.

Base Conversion Function


Binary:

Ternary:
Quintal:
Octal:
Decimal:
Hexadecimal:

JavaScript Source Code 2002: Equivalents: Base Converter

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!