You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -29,7 +31,7 @@ See also [decimal.js](https://github.com/MikeMcl/decimal.js/), which among other
29
31
30
32
## Load
31
33
32
-
The library is the single JavaScript file *bignumber.js* or as an ES module *bignumber.mjs*.
34
+
The library is the single JavaScript file *bignumber.js* or ES module *bignumber.mjs*.
33
35
34
36
### Browser:
35
37
@@ -42,7 +44,7 @@ The library is the single JavaScript file *bignumber.js* or as an ES module *big
42
44
```html
43
45
<scripttype="module">
44
46
importBigNumberfrom'./path/to/bignumber.mjs';
45
-
...
47
+
...
46
48
</script>
47
49
```
48
50
@@ -151,7 +153,7 @@ x.toNumber() // 255.5
151
153
```
152
154
153
155
A base can be specified for [`toString`](http://mikemcl.github.io/bignumber.js/#toS).
154
-
156
+
155
157
*Performance is better if base 10 is NOT specified, i.e. use `toString()` not `toString(10)`. Only specify base 10 when it is desired that the number of decimal places be limited to the current [`DECIMAL_PLACES`](http://mikemcl.github.io/bignumber.js/#decimal-places) setting.*
0 commit comments