Skip to content

adekom/decitectural

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

decitectural

A small library for converting between decimal and architectural representations of a measurement.

Installation

npm install decitectural --save

Usage

	var decitectural = require('decitectural'),
		toDecimal = decitectural.toDecimal,
		toArchitectural = decitectural.toArchitectural;
	
	console.log(toArchitectural(53.93, "inches", "1/16"));
	console.log(toDecimal("4' 5 7/8\"", "inches", "1/10000"));

Tests

npm test

Release History

  • 1.0.0 Initial Release

About

decimal-architectural notation converter

Resources

License

Stars

Watchers

Forks

Packages

No packages published