powered by
rounded(x, digits = 2, add = TRUE, max = (digits + 3))
add=TRUE
rounded(seq(0, 1, by=.1))
Run the code above in your browser using DataLab