Format a number with the correct number of significant digits and trailing zeroes.
Source:R/fmt_signif.R
fmt_signif.Rd
Format a number with the correct number of significant digits and trailing zeroes.
Author
Justin Wilkins, justin.wilkins@occams.com
Examples
if (FALSE) { # \dontrun{
fmt_signif(c(36.44, 0.0002, 3336.7), digits=3)
} # }