R/utils.R
dollarize.Rd
dollarize(x) inputs a numeric values and returns that number in U.S. dollar format rounded to the nearest integer.
dollarize(x)
Numeric value
x printed in a character string in U.S. dollar format.
x
dollarize(10) #> [1] "$10" dollarize(321.53) #> [1] "$322" dollarize(12000) #> [1] "$12,000"