monetary_to_number | R Documentation |
Convert monetary character-strings to numeric values
monetary_to_number(x)
x |
Character string to convert |
Returns number with value, stripped from any currency symbols and thousand-seperators (i.e. "B#2,010.50" becomes 2010.5)
monetary_to_number ("$2,200.20")
# Note that values using German or Dutch notation (i.e. using a comma to
separate decimals and a dot to seperate thousands) are converted as well.
monetary_to_number ("$2.200,20")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.