math-sum
Sum numbers
Install
$ npm install math-sum
Usage
import mathSum from 'math-sum';
mathSum(5, 5);
//=> 10
mathSum([1, 2, 3, 4]);
//=> 10
Related
- math-avg - Get the average of numbers
- math-clamp - Clamp a number
Sum numbers
$ npm install math-sum
import mathSum from 'math-sum';
mathSum(5, 5);
//=> 10
mathSum([1, 2, 3, 4]);
//=> 10
npm i math-sum
171
2.0.0
MIT
2.29 kB
4