decimalplaces {hhmR} | R Documentation |
decimalplaces
Description
Tests the number of non-zero decimal places within a number.
Usage
decimalplaces(x)
Arguments
x |
The number for the number of decimal places is to be measured. |
Value
A single number, indicating the number of non-zero decimal places in 'x'.
Examples
decimalplaces(23.43234525)
decimalplaces(334.3410000000000000)
decimalplaces(2.000)
[Package hhmR version 0.0.1 Index]