Skip to content

Commit 39de26a

Browse files
author
Jordan Luyke
committed
update arithmetic lib recommendation
1 parent 9f1615b commit 39de26a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ In the examples below, we have supplied the `format` parameter as `"json_numbers
2323
numbers returned from our API as strings. If you need to perform arithmetic on these numbers, you ***must***
2424
use an arbitrary-precision library:
2525

26-
- [BigDecimal.js](https://github.com/iriscouch/bigdecimal.js): a literal port of Java's BigInteger and BigDecimal classes.
27-
- [bignum](https://github.com/justmoon/node-bignum): Big integer arithmetic using OpenSSL.
26+
- [bignumber.js](https://github.com/MikeMcl/bignumber.js): A JavaScript library for arbitrary-precision decimal and non-decimal arithmetic
2827

2928
Alternatively, instead supply the (default) `"format":"json"` and the API will encode numbers directly in JSON.
3029

@@ -36,7 +35,7 @@ let wyre = new WyreClient({
3635
format: "json_numberstring",
3736
apiKey: "P334FCDXQ4UVAWVPUZ4V",
3837
secretKey: "4AZEWMYB7CFJWWZMCEWX"
39-
//baseUrl: "https://api.testwyre.com"
38+
// baseUrl: "https://api.testwyre.com"
4039
})
4140

4241
wyre.get("/account")

0 commit comments

Comments
 (0)