Skip to content

Issue with currency formatting in Danish #54

@benregn

Description

@benregn

I'm encountering a strange issue. The output of MyApp.Cldr.Number.to_string 123.45, locale: "da", currency: "DKK" has changed the location of the currency symbol between 2.40.3 and 2.42. The confusing part is that the format string for :currency hasn't changed when looking at the output of Cldr.Number.Format.all_formats_for("da", MyApp.Cldr).

Version Format (:currency) Output
2.40.3 "#,##0.00\u00A0¤" 123,45 kr.
2.42 "#,##0.00\u00A0¤" kr. 123,45

Here is a Gist with a LiveBook for each of the versions for demonstration: https://gist.github.com/benregn/b689478750322ad25f00f6f1a6d5c211

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions