average

1.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i average

Weekly Downloads

1,481

Version

1.0.0

License

MIT

Unpacked Size

5.18 kB

Total Files

10

Last publish

Collaborators

  • bytespider