powered by
Tests the number of non-zero decimal places within a number.
decimalplaces(x)
A single number, indicating the number of non-zero decimal places in `x`.
The number for the number of decimal places is to be measured.
decimalplaces(23.43234525) decimalplaces(334.3410000000000000) decimalplaces(2.000)
Run the code above in your browser using DataLab