Convert numeric values to strings using the `sprintf` function. NA, NaN, -Inf, and Inf are replaced by an empty string.
rounding(x, fmt = "%.3f")
a numeric vector to be converted to string
a character vector of format strings which will be fed to the `sprintf` function. See ?sprintf for details.
a rounded number as character