R/decimal_places.R
decimal_places.Rd
Return the number of decimal places in a given value
decimal_places(x)
The value for which the number of decimal places will be returned.
An integer representing the number of decimal places in x.
decimal_places(4.56) #> [1] 2