bankers-math
Advanced tools
Comparing version 0.2.5 to 0.2.6
@@ -44,3 +44,3 @@ // EU on Bankers' rounding: https://ec.europa.eu/economy_finance/publications/pages/publication1224_en.pdf | ||
analyseValues(list, decimalPlaces = 6) { | ||
let sum = Services.sum(list); | ||
let sum = Services.toFixedNumber(Services.sum(list), decimalPlaces); | ||
let avg = Services.toFixedNumber( | ||
@@ -47,0 +47,0 @@ list.length > 0 ? sum / list.length : 0, |
{ | ||
"name": "bankers-math", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"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
12702