cli-mathematic
A lib to use mathematical operators
Note: need
node >= 6
Usage
``
js
const math = require('mathematic');
math.sum(1, 2); // 3
/ You can use arrays /
math.sum([1,2,3,'4',66,74]); // 150
math.sub(56,44); // 12
math.multi(14, 37); // 518
math.div(3, 4); // 0.75
``
API
$3
| Parameter | Type | Value |
|-------------|---------------------|-------------------------------|
| numbers | number
or array | any number (in array or not) |
$3
| Parameter | Type | Value |
|-------------|---------------------|-------------------------------|
| numbers | number
or array | any number (in array or not) |
$3
| Parameter | Type | Value |
|-------------|---------------------|-------------------------------|
| numbers | number
or array | any number (in array or not) |
$3
| Parameter | Type | Value |
|-------------|---------------------|-------------------------------|
| numbers | number
or array | any number (in array or not) |