powered by
rounddf(tbl, dec = 3)
data.frame(x = c("a","b"), y = c(1L, 2L), z = c(-0.0005, 3.1)) %>% rounddf(dec = 3)
Run the code above in your browser using DataLab