to-decimal-arbitrary-precision

Ensures a number is represented as a decimal

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
to-decimal-arbitrary-precision
0181.0.27 years ago7 years agoMinified + gzip package size for to-decimal-arbitrary-precision in KB

Readme

to-decimal
Build Status Coverage Status Code Climate
Ensures a number is represented as a decimal

Install

npm i to-decimal-arbitrary-precision

Usage

var Decimal = require('linear-arbitrary-precision')(require('floating-adapter'));
var toDecimal = require('to-decimal-arbitrary-precision')(Decimal);

toDecimal(32); // => new Decimal('32')

Related projects