Comparing version 6.1.0 to 6.1.1
/* | ||
* big.js v6.1.0 | ||
* big.js v6.1.1 | ||
* A small, fast, easy-to-use library for arbitrary-precision decimal arithmetic. | ||
@@ -199,3 +199,3 @@ * Copyright (c) 2021 Michael Mclaughlin | ||
if (rm === UNDEFINED) rm = Big.RM; | ||
if (rm === UNDEFINED) rm = x.constructor.RM; | ||
if (rm !== 0 && rm !== 1 && rm !== 2 && rm !== 3) { | ||
@@ -202,0 +202,0 @@ throw Error(INVALID_RM); |
@@ -0,1 +1,8 @@ | ||
#### 6.1.1 | ||
* 03/05/21 | ||
* #169 Bugfix: `round`, `toFixed` etc. using original constructor `RM` (bug introduced in *v6.0.0*). | ||
* #169 Correct rounding mode documentation. | ||
* Add version number to legacy documentation. | ||
#### 6.1.0 | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "big.js", | ||
"description": "A small, fast, easy-to-use library for arbitrary-precision decimal arithmetic", | ||
"version": "6.1.0", | ||
"version": "6.1.1", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "arbitrary", |
@@ -127,3 +127,3 @@ # big.js | ||
Big.DP = 10 | ||
Big.RM = 1 | ||
Big.RM = Big.roundHalfUp | ||
@@ -130,0 +130,0 @@ x = new Big(2); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61830