Format numeric values according to the specification.
Examples
if (FALSE) { # \dontrun{
apply_format("xx.x", 12.345) # "12.3"
apply_format("a.xx", c(1, 123)) # " 1.00", "123.00"
} # }
Format numeric values according to the specification.
if (FALSE) { # \dontrun{
apply_format("xx.x", 12.345) # "12.3"
apply_format("a.xx", c(1, 123)) # " 1.00", "123.00"
} # }