financialFmt | R Documentation |
Format a number in "financial" format
financialFmt(x, prefix = "", accuracy = 1)
dollarFmt(x, ...)
x |
Value to be formatted (numeric) |
prefix |
Prefix to prepend, typically a currency symbol (character, optional) |
accuracy |
Accuracy of formatted result; e.g., 1 for rounding to nearest dollar, 0.01 for rounding to nearest penny (numeric, optional) |
... |
Passed to |
A string
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.