Skip to content

smalltownheroes/avg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AVG

Installation

$ npm install avg --save

What does it do

Given an object with key value pairs where the key represents a category and the value is a number associated with that category, it calculates the averages and rounds it so that the sum of the integer rounded parts is always equal to 100 with minimal rounding errors.

Releases

No releases published

Packages

No packages published