R/numbers.R
int_digits.Rd
trans numbers to a fixed integer digit length
int_digits(x, digits = 2, scale_factor = FALSE)
number
integer digit length
return the scale_factor instead of value
int_digits(0.0332, 1) #> [1] 3.32