Description Usage Arguments Value
Function to format numeric as currency
1 2 | currency.format(x, currency.sym = "$", sym.align = "left", digits = 2,
sep = ",", decimal = ".", ...)
|
x |
numeric vector to format. |
currency.sym |
character default |
sym.align |
character default |
digits |
precision in rounding |
sep |
character separator for thousands, default |
decimal |
character separator for decimal places, default |
... |
ignored. |
character vector of the same length as input formatted as defined currency.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.