bankers-math
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -19,2 +19,5 @@ | ||
definedNumber (value) { | ||
return value !== undefined && value !== null && ( value.isNaN ? (!value.isNaN() && (!value.isFinite || value.isFinite()) ) : !Number.isNaN(value) && Number.isFinite(value) ) | ||
}, | ||
bankersRounding ( num, decimalPlaces = 2, base = 10 ) { | ||
@@ -21,0 +24,0 @@ let pow = Math.pow(base, decimalPlaces) |
{ | ||
"name": "bankers-math", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Helper function for Bankers' calculus", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
9776
255