Skip to contents

Computes the number of decimal places in a numeric value.

Usage

utils_digits(x = NULL)

Arguments

x

(required, numeric) Numeric value. Default: NULL

Value

integer

Examples

utils_digits(x = 0.234)
#> [1] 3