Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

precision

bendrucker171.6kMIT1.0.1

Find the decimal precision of a given number

number, decimal, precision, places, round

readme

precision Build Status

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