powered by
Round and pad a number to a specific decimal place
format_num(x, digits = 3)
a character vector of formatted numbers
Numeric vector
Number of digits to retain
std.error <- c(0.12, 0.001, 1.2) format_num(std.error)
Run the code above in your browser using DataLab