R/main.R
remove_leading_zero.Rd
Remove leading zero from numbers
remove_leading_zero(x, digits = 2, ...)
vector of numbers
rounding digits
Arguments passed to formatC
vector of characters
remove_leading_zero(c(0.5,-0.2)) #> [1] ".50" "-.20"