big-rational
Advanced tools
Comparing version 0.9.0 to 0.9.1
{ | ||
"name": "big-rational", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"author": "Peter Olson <peter.e.c.olson+npm@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "An arbitrary length rational number library for Javascript", |
@@ -119,5 +119,5 @@ BigRational.js | ||
`ceil` | ||
`ceil(toBigInt?)` | ||
--- | ||
Rounds up to the nearest integer. | ||
Rounds up to the nearest integer. If the `toBigInt` argument is `true`, then it will return a bigInteger instead of a bigRational. | ||
@@ -146,5 +146,5 @@ - `bigRat(12345.4).ceil().equals(12346)` | ||
`floor` | ||
`floor(toBigInt?)` | ||
--- | ||
Rounds down to the nearest integer. | ||
Rounds down to the nearest integer. If the `toBigInt` argument is `true`, then it will return a bigInteger instead of a bigRational. | ||
@@ -233,5 +233,6 @@ - `bigRat(987.99999).floor().equals(987)` | ||
`round` | ||
`round(toBigInt?)` | ||
--- | ||
Rounds a number to the nearest integer. If the number is exactly half-way between two integers, it will round up. | ||
If the `toBigInt` argument is `true`, then it will return a bigInteger instead of a bigRational. | ||
@@ -238,0 +239,0 @@ - bigRat(54345.12566).round().equals(54345) |
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
33734
270