1
0
mirror of https://github.com/MikeMcl/decimal.js.git synced 2024-10-27 20:34:12 +00:00
This commit is contained in:
Michael Mclaughlin 2021-06-25 12:55:36 +01:00
parent 00d5e300d7
commit 1bcf067429
5 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,7 @@
#### 10.3.1
* 25/06/2021
* Remove minified versions. Refresh *README*.
#### 10.3.0
* 22/06/2021
* Support underscores as separators.

View File

@ -152,7 +152,7 @@ Decimal.pow(2, 0.0979843) // '1.0702770511687781839'
// Using `toFixed()` to avoid exponential notation:
x = new Decimal('0.0000001')
x.toString() // '1e-7'
x.toFixed() // ''0.0000001'
x.toFixed() // '0.0000001'
```
And there are `isNaN` and `isFinite` methods, as `NaN` and `Infinity` are valid `Decimal` values.

View File

@ -3,7 +3,7 @@
/*
* decimal.js v10.3.0
* decimal.js v10.3.1
* An arbitrary-precision Decimal type for JavaScript.
* https://github.com/MikeMcl/decimal.js
* Copyright (c) 2021 Michael Mclaughlin <M8ch88l@gmail.com>

View File

@ -1,5 +1,5 @@
/*
* decimal.js v10.3.0
* decimal.js v10.3.1
* An arbitrary-precision Decimal type for JavaScript.
* https://github.com/MikeMcl/decimal.js
* Copyright (c) 2021 Michael Mclaughlin <M8ch88l@gmail.com>

View File

@ -1,7 +1,7 @@
{
"name": "decimal.js",
"description": "An arbitrary-precision Decimal type for JavaScript.",
"version": "10.3.0",
"version": "10.3.1",
"keywords": [
"arbitrary",
"precision",