mirror of
https://github.com/MikeMcl/decimal.js.git
synced 2024-10-27 20:34:12 +00:00
v10.3.1
This commit is contained in:
parent
00d5e300d7
commit
1bcf067429
@ -1,3 +1,7 @@
|
|||||||
|
#### 10.3.1
|
||||||
|
* 25/06/2021
|
||||||
|
* Remove minified versions. Refresh *README*.
|
||||||
|
|
||||||
#### 10.3.0
|
#### 10.3.0
|
||||||
* 22/06/2021
|
* 22/06/2021
|
||||||
* Support underscores as separators.
|
* Support underscores as separators.
|
||||||
|
@ -152,7 +152,7 @@ Decimal.pow(2, 0.0979843) // '1.0702770511687781839'
|
|||||||
// Using `toFixed()` to avoid exponential notation:
|
// Using `toFixed()` to avoid exponential notation:
|
||||||
x = new Decimal('0.0000001')
|
x = new Decimal('0.0000001')
|
||||||
x.toString() // '1e-7'
|
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.
|
And there are `isNaN` and `isFinite` methods, as `NaN` and `Infinity` are valid `Decimal` values.
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* decimal.js v10.3.0
|
* decimal.js v10.3.1
|
||||||
* An arbitrary-precision Decimal type for JavaScript.
|
* An arbitrary-precision Decimal type for JavaScript.
|
||||||
* https://github.com/MikeMcl/decimal.js
|
* https://github.com/MikeMcl/decimal.js
|
||||||
* Copyright (c) 2021 Michael Mclaughlin <M8ch88l@gmail.com>
|
* Copyright (c) 2021 Michael Mclaughlin <M8ch88l@gmail.com>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* decimal.js v10.3.0
|
* decimal.js v10.3.1
|
||||||
* An arbitrary-precision Decimal type for JavaScript.
|
* An arbitrary-precision Decimal type for JavaScript.
|
||||||
* https://github.com/MikeMcl/decimal.js
|
* https://github.com/MikeMcl/decimal.js
|
||||||
* Copyright (c) 2021 Michael Mclaughlin <M8ch88l@gmail.com>
|
* Copyright (c) 2021 Michael Mclaughlin <M8ch88l@gmail.com>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "decimal.js",
|
"name": "decimal.js",
|
||||||
"description": "An arbitrary-precision Decimal type for JavaScript.",
|
"description": "An arbitrary-precision Decimal type for JavaScript.",
|
||||||
"version": "10.3.0",
|
"version": "10.3.1",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"arbitrary",
|
"arbitrary",
|
||||||
"precision",
|
"precision",
|
||||||
|
Loading…
Reference in New Issue
Block a user