powered by
formatPercent(x, digits = 1)
x <- c(.15, .00556, .55, 0.246) formatPercent(x, 0)
Run the code above in your browser using DataLab