precision
v1.0.1
Published
Find the decimal precision of a given number
Downloads
162,166
Maintainers
Readme
precision
Find the decimal precision of a given number
Install
$ npm install --save precision
Usage
var precision = require('precision')
precision(1.123)
//=> 3
API
precision(value)
value
Required
Type: number
License
MIT © Ben Drucker