Below are instructions on how to install DecimalSystems. For usage instructions, reference Getting Started and Num.
DecimalSystem can be used in both Node and in a browser. To install and use it in Node, do the following:
npm i decimalsystem
and use it with:
import {Num} from "decimalsystem";
new Num(14)...
With tools such as Webpack, DecimalSystem's installation instructions for the browser are identical as they are for Node. If you aren't able to use NPM packages, then the below script must be added to your page:
<script src="https://cdn.jsdelivr.net/npm/decimalsystem@1.1.0/dist/decimalsystem.min.js" integrity="sha256-tXuzTfFXQgfRvwj1sTcNHgJAgRbjMFXdeISTUGTC5cM=" crossorigin="anonymous"></script>
and can be used it with:
new decimalsystem.Num(14)...