Skip to content

Skalman/baseconvert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.