Sign in Sign up
npm

count-decimals

Counts the number of decimal places in a number. It accepts a value of type `number` and returns an integer value, indicating the number of decimal places -- 0 for whole numbers. In case of an error it returns `undefined` or throws an exception.

npm View on Npm

Activity

Latest release
1y ago
Total releases
1
Cadence
Last 12 months
0

Details

License
MIT
First release
Dec 23, 2024
Releases
Version Released
1.0.0 initial