powered by
fround
pfround
fround(x, digits) pfround(x, digits)
round
x <- rnorm(1) fround(x, digits=2) pfround(x, digits=2)
Run the code above in your browser using DataLab