Converts a number to a string using the Euro sign, rounding up to 2 digits and using the comma as the separator.

eur(x)

Arguments

x

The number to be formatted as Euro.

Value

Returns a string in Euro format.

See also

Examples

eur(100)
#> [1] "\200100.00"
eur(-100000.34561)
#> [1] "-\200100,000.35"