abs-arbitrary-precision
1.0.1 • Public • Published abs-arbitrary-precision
abs abstraction to extend core-arbitrary-precision
Install
npm i abs-arbitrary-precision
Adapters
Usage
var adapter = require('floating-adapter');
var Decimal = require('abs-arbitrary-precision')(require('linear-arbitrary-precision')(adapter));
new Decimal('-12').abs().valueOf();
See spec.
Package Sidebar
Install
npm i abs-arbitrary-precision
Weekly Downloads