R/utils.R
apply_precision.Rd
Simple wrapper around base round() used by tests and examples.
round()
apply_precision(x, n = NULL)
Numeric vector.
Integer number of digits to keep. If NULL, return x unchanged.
Numeric vector rounded to n.
n