Cldr.Number.System.number_systems_like

You're seeing just the function number_systems_like, go back to Cldr.Number.System module for more information.
Link to this function

number_systems_like(locale, number_system, backend)

View Source

Specs

number_systems_like(
  Cldr.LanguageTag.t() | Cldr.Locale.locale_name(),
  system_name(),
  Cldr.backend()
) :: {:ok, list()} | {:error, {module(), String.t()}}

Returns locale and number systems that have the same digits and separators as the supplied one.

Arguments

Returns

Notes

Transliterating between locale & number systems is expensive. To avoid unncessary transliteration we look for locale and number systems that have the same digits and separators. Typically we are comparing to locale "en" and number system "latn" since this is what the number formatting routines use as placeholders.

Examples