3.0.0 • Published 6 months ago
math-avg v3.0.0
math-avg
Get the average of numbers
Install
$ npm install --save math-avg
Usage
import mathAverage from 'math-avg';
mathAverage(1, 3);
//=> 2
mathAverage([1, 3]);
//=> 2
Related
- math-sum - Sum numbers
- math-clamp - Clamp a number