View source: R/format_dollars.R
format_dollars | R Documentation |
Format numeric values with comma for thousands separator.
Can be converted back from this format to numeric using to = "numeric"
.
format_dollars(x, to = "character")
x |
The formatted.ACB file |
to |
What to convert to, with otions |
A value representing dollars, either as a formatted character string or as a numeric value.
x <- format_dollars(1010.92) x format_dollars(x, to = "numeric")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.