Ex_Cldr_Numbers v2.24.0 Release Notes

  • ๐Ÿš€ This is the changelog for Cldr v2.24.0 released on December 30th, 2021. For older changelogs please consult the release tag on GitHub

    โœจ Enhancements

    • ๐Ÿ‘ Allowed limited forms of format composition. For example, composing a :long format with a :currency format:

      iex> Cldr.Number.to_string!(100_000_000, format: :long) |> Cldr.Number.to_string(format: :currency)
      {:ok, "$100 million"}
    • Add format :currency_long_with_symbol which is a composite of :currency_long and the locales standard currency format. This supports formatting of of numbers like "$100 million" in the example above.