bignum-dec

pure js decrement for big numbers

Usage no npm install needed!

<script type="module">
  import bignumDec from 'https://cdn.skypack.dev/bignum-dec';
</script>

README

bignum-dec

NPM version Build Status Coveralls Status Dependency Status

pure js decrement for big numbers

Install

npm install --save bignum-dec

Usage

import dec from 'bignum-dec';

dec('420000000000000000000000'); // '419999999999999999999999'

Related

  • bignum-inc — pure js increment for big numbers

License

MIT © Vladimir Starkov