1.0.0 • Published 3 years ago

average v1.0.0

Weekly downloads
867
License
MIT
Repository
github
Last release
3 years ago

average

The matematical average, the result obtained by adding several amounts together and then dividing this total by the number of amounts; the mean.

example

var average = require('average');
var result = average([2, 5, 0, 1, 25, 7, 3, 0, 0, 10]);

console.log('The average for all the values is:', result);

license

MIT