eur.Rd
Converts a number to a string using the Euro sign, rounding up to 2 digits and using the comma as the separator.
eur(x)
x | The number to be formatted as Euro. |
---|
Returns a string in Euro format.
eur(100)#> [1] "\200100.00"eur(-100000.34561)#> [1] "-\200100,000.35"