times-arbitrary-precision
v1.1.0
Published
Multiplication abstraction for core-arbitrary-precision
Downloads
96
Maintainers
Readme
times-arbitrary-precision
Multiplication abstraction for core-arbitrary-precision
Install
npm i times-arbitrary-precision
Adapters
- See adapters
Usage
var adapter = require('floating-adapter');
var CoreDecimal = require('linear-arbitrary-precision')(adapter);
var Decimal = require('times-arbitrary-precision')(CoreDecimal);
new Decimal('3').times(new Decimal('2')).valueOf(); // => 6
See spec.