1.0.0 • Published 10 years ago
bigjs-neg v1.0.0
bigjs-neg
Add negated method to big.js
Load
It can be loaded via a script tag in an HTML document for the browser
<script src='./relative/path/to/bigjs-neg.js'></script>or as a CommonJS, Node.js or AMD module using require.
var bigjsNeg = require('bigjs-neg');For Node.js, the library is available from the npm registry:
$ npm install bigjs-negUse
var Big = require('big.js');
bigjsNeg(Big);
new Big(3).neg() => -31.0.0
10 years ago