Package Exports
- number-normalizer
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (number-normalizer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Introduction
Normalize a number for uniform distribution with in an uneven distributed series of numbers.
Strings will be returned as it is without any change.
Usage
Install
npm install number-normalizer
Example
var nNorm = require('number-normalizer');
var nVal = nNorm.normalize(10);
nVal = nNorm.normalize("100");
var list = nNorm.normalizeAll([1,2,3.1,20000,300000])
```js