Description Usage Arguments Value Examples
dollarChar
1 2 | dollarChar(x = "dollars", ndecimal = 2, unit = "d", currency = "$",
direction = FALSE)
|
x |
Numeric. Dollar amount to be formatted. |
ndecimal |
Integer. Number of decimal places to round to |
unit |
What units to convert x to
|
currency |
String. Symbol to use as prefix of number. |
direction |
Boolean. Should + proceed the number for positive numbers? |
String.
1 | dollarChar(x = 2118999, unit = 'm')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.