R/webexercises_fns.R
strip_lzero.Rd
Strip leading zero from numeric string
strip_lzero(x)
A numeric string (or number that can be converted to a string).
A string with leading zero removed.
strip_lzero("0.05") #> [1] ".05"