Skip to content

Currency filter is missing option to control sign position and dot/comma setting #31

Closed
@telamon

Description

@telamon

Hi!
I checked the source for the currency filter and realized that there is no way to specify the position of the
currency sign or specify if delimiters should be dots or commas.

In some locales like Swedish the rules for currency presentation is different e.g.
given 123456789 | currency('kr')
The filter produces:
kr1,234,567.89
But according to Swedish standard the formatting should be:
1 234 567,89 kr

In other words, I'd like to submit a feature-request to be able to control the decimal-separator and the thousand-separator and of course placement of currency-sign.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions