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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    66
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    66
  • 0.1.0
    57
  • 0.0.1
    800
  • 0.0.0
    1

Package Sidebar

Install

npm i average

Weekly Downloads

924

Version

1.0.0

License

MIT

Unpacked Size

5.18 kB

Total Files

10

Last publish

Collaborators

  • bytespider