R/bruceR_utils.R
formatF.Rd
Format numeric values.
formatF(x, digits = 3)
A number or numeric vector.
Number of decimal places of output. Defaults to 3.
3
Formatted character string.
format, formatN
format
formatN
formatF(pi, 20) #> [1] "3.14159265358979311600"