Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bankers-math

Package Overview
Dependencies
Maintainers
0
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bankers-math - npm Package Compare versions

Comparing version 0.2.5 to 0.2.6

2

Banker.js

@@ -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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc