R/numbers.R
float_to_percent.Rd
from float number to percent number
float_to_percent(x, digits = 2)
number
hold n digits after the decimal point
percent character of x
float_to_percent(0.12) #> [1] "12.00%"