powered by
myround(x, digits = 1)
sprintf
round
myround(51.01, 3) myround(0.199, 2)
Run the code above in your browser using DataLab