bankers-math
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -22,2 +22,5 @@ | ||
}, | ||
minmax (value, min, max) { | ||
return value < min ? min : (value > max ? max : value) | ||
}, | ||
bankersRounding ( num, decimalPlaces = 2, base = 10 ) { | ||
@@ -24,0 +27,0 @@ let pow = Math.pow(base, decimalPlaces) |
{ | ||
"name": "bankers-math", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"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
9865
258