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
Copy file name to clipboardExpand all lines: README.md
+5-11Lines changed: 5 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,10 +21,6 @@ The little sister to [bignumber.js](https://github.com/MikeMcl/bignumber.js/) an
21
21
22
22
$ npm install --save big.js
23
23
24
-
or
25
-
26
-
$ yarn add big.js
27
-
28
24
## Use
29
25
30
26
The library is the single JavaScript file *big.js* (or *big.min.js*, which is *big.js* minified).
@@ -41,9 +37,7 @@ If using an ES6 transpiler, or Node.js with the [`--experimental-modules`](https
41
37
42
38
import Big from './big';
43
39
44
-
<br />
45
-
*In all examples below, `var`, semicolons and `toString` calls are not shown. \
46
-
If a commented-out value is in quotes it means `toString` has been called on the preceding expression.*
40
+
*In all examples below, `var`, semicolons and `toString` calls are not shown. If a commented-out value is in quotes it means `toString` has been called on the preceding expression.*
47
41
48
42
The library exports a single function, `Big`, the constructor of Big number instances.
49
43
It accepts a value of type number, string or Big number object.
@@ -113,15 +107,15 @@ To test a single method
113
107
114
108
$ node test/toFixed
115
109
116
-
For the browser, see *single-test.html* and [*every-test.html*](test/browser/every-test.html) in the *test/browser* directory.
110
+
For the browser, see *single-test.html* and *every-test.html* in the *test/browser* directory.
117
111
118
-
[*big-vs-number.html*](test/browser/big-vs-number.html) is a simple application that enables some of the methods of big.js to be compared with those of JavaScript's Number type.
112
+
*big-vs-number.html* is a simple application that enables some of the methods of big.js to be compared with those of JavaScript's Number type.
119
113
120
114
## Performance
121
115
122
116
The *perf* directory contains two old applications and a *lib* directory containing the BigDecimal libraries used by both.
123
117
124
-
[*big-vs-bigdecimal.html*](perf/big-vs-bigdecimal.html) tests the performance of big.js against the JavaScript translations of two versions of BigDecimal, its use should be more or less self-explanatory.
118
+
*big-vs-bigdecimal.html* tests the performance of big.js against the JavaScript translations of two versions of BigDecimal, its use should be more or less self-explanatory.
0 commit comments