parse-to-float
Version:
Parsing number to float with two digits precision
28 lines (17 loc) • 318 B
Markdown
# parse-to-float
> Parsing number to float with two digits precision
## Install
```
npm install parse-to-float
```
## Usage
```
var parseToFloat = require('parse-to-float');
parseToFloat(123.1234, 3); // 123.123
```
## Unit tests
```
npm test
```
## Licence
The MIT Licence @ 2016