to-decimal-arbitrary-precision

1.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i to-decimal-arbitrary-precision

Weekly Downloads

40

Version

1.0.2

License

MIT

Last publish

Collaborators

  • javiercejudo