0.1.0 • Published 13 years ago
math-helpers v0.1.0
math-helpers
Tiny statistics helper lib. Robust and fast.
Installation
npm install math-helpersUsage
var math = require('math-helpers')(/* optional options */)
var avg = math.avg([1, 2, 3])Options
You can pass some options to the module.
{
precision: 3 // results will be rounded to this number of decimals
}0.1.0
13 years ago