Format numeric values.
formatF(x, digits = 3)
x
A number or numeric vector.
digits
Number of decimal places of output. Defaults to 3.
3
Formatted character string.
format, formatN
format
formatN
formatF(pi, 20)