# NOT RUN {
money <- as.currency(c(0.25, 2.5, 25, 25000))
money
sum(money)
max(money)
mean(money)
format(money, currency_symbol = "$")
format(money, currency_symbol = "<U+20AC>", decimal.mark = ",")
as.currency(2.5e+04)
# }
Run the code above in your browser using DataLab