Round to nearest cent and display dollar sign
dollar(x, ...)
x
numeric vector to format
...
other arguments passed on to format
format
Hadley Wickham <h.wickham@gmail.com>