Skip to content

Commit 247e6fe

Browse files
author
shinuza
committed
Added instruction to use in the node and the browser
1 parent b72afbc commit 247e6fe

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

+18
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,24 @@ Source : http://floating-point-gui.de/
1818
I wrote this because I needed to do simple computation in the browser
1919
and I couldn't find a lightweight library to do it.
2020

21+
How to use?
22+
===========
23+
24+
25+
In the browser
26+
--------------
27+
28+
<script src="lib/decimal.js"></script>
29+
30+
In node
31+
-------
32+
33+
npm install decimal
34+
35+
then in your program
36+
37+
var Decimal = require('decimal');
38+
2139

2240
Examples
2341
=======

0 commit comments

Comments
 (0)