Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
lib
 
 
src
 
 
 
 
 
 
 
 

Base Convert - A library for easy conversion between numerical systems

Base Convert is an extensible JavaScript library to enable easy conversion between numerical systems, such as different bases (binary, decimal, hexadecimal) or roman numerals.

Goal: be able to convert numbers from and into all the world's different numerical systems.

Examples

Base(10, 2, "5.3")        // 101.0100110...
Base(10, "roman", "2598") // MMDXCVIII
Base(2, 13, "110110")     // 42

Demo

Either visit baseconvert.com or check out docs/demo.html.