R/utils.R
round_f.Rd
Rounds value and formats it to retain number of decimals in 2nd argument
round_f(x, digits = 2)
Numeric value to be rounded
Number of decimal places
Rounded and formatted character value
round_f(12.31, 3) #> [1] "12.310"