Cldr Numbers
▼
Project version
v2.33.4
v2.33.3
v2.33.2
v2.33.1
v2.33.0
v2.32.4
v2.32.3
v2.32.2
v2.32.1
v2.32.0
v2.31.3
v2.31.2
v2.31.1
v2.31.0
v2.30.1
v2.30.0
v2.29.0
v2.28.0
v2.27.3
v2.27.2
v2.27.1
v2.27.0
v2.26.0
v2.25.2
v2.25.1
v2.25.0
v2.24.0
v2.23.3
v2.23.2
v2.23.1
v2.23.0
v2.23.0-rc.4
v2.23.0-rc.3
v2.23.0-rc.2
v2.23.0-rc.1
v2.23.0-rc.0
v2.22.1
v2.22.0
v2.21.0
v2.20.0
v2.19.0
v2.18.4
v2.18.3
v2.18.2
v2.18.1
v2.18.0
v2.17.0
v2.17.0-rc.1
v2.17.0-rc.0
v2.16.1
v2.16.0
v2.16.0-rc.0
v2.15.4
v2.15.3
v2.15.2
v2.15.1
v2.15.0
v2.14.0
v2.13.2
v2.13.1
v2.13.0
v2.13.0-rc.0
v2.12.1
v2.12.0
v2.11.0
v2.10.0
v2.9.0
v2.8.0
v2.7.2
v2.7.1
v2.7.0
v2.6.4
v2.6.3
v2.6.2
v2.6.1
v2.6.0
v2.5.0
v2.4.4
v2.4.3
v2.4.2
v2.4.1
v2.4.0
v2.3.0
v2.2.0
v2.1.1
v2.1.0
v2.0.0
v2.0.0-rc.0
v1.6.0
v1.5.2
v1.5.1
v1.5.0
v1.4.4
v1.4.3
v1.4.2
v1.4.1
v1.4.0
v1.3.1
v1.3.0
v1.3.0-rc.1
v1.3.0-rc.0
v1.2.0
v1.1.0
v1.0.1
v1.0.0
v1.0.0-rc.0
v0.3.3
v0.3.2
v0.3.1
v0.3.0
v0.2.3
v0.2.2
v0.2.1
v0.2.0
v0.1.0
Pages
Modules
API Reference
Modules
Number and Currency Localization and Formatting
Introduction and Getting Started
Known restrictions and limitations
Installation
Configuration
Formatting Numbers
Parsing Numbers from a string
Changelog
Cldr Numbers v2.33.0
Cldr Numbers v2.32.4
Cldr Numbers v2.32.3
Cldr Numbers v2.32.3
Cldr Numbers v2.32.2
Cldr Numbers v2.32.1
Cldr Numbers v2.32.0
Cldr Numbers v2.31.3
Cldr Numbers v2.31.2
Cldr Numbers v2.31.1
Cldr Numbers v2.31.0
Cldr Numbers v2.30.1
Cldr Numbers v2.30.0
Cldr_Numbers v2.29.0
Cldr_Numbers v2.28.0
Cldr_Numbers v2.27.3
Cldr_Numbers v2.27.2
Cldr_Numbers v2.27.1
Cldr_Numbers v2.27.0
Cldr_Numbers v2.26.0
Cldr_Numbers v2.25.2
Cldr_Numbers v2.25.1
Cldr_Numbers v2.25.0
Cldr_Numbers v2.24.0
Cldr_Numbers v2.23.3
Cldr_Numbers v2.23.2
Cldr_Numbers v2.23.1
Cldr_Numbers v2.23.0
Cldr_Numbers v2.23.0-rc.4
Cldr_Numbers v2.23.0-rc.3
Cldr_Numbers v2.23.0-rc.2
Cldr_Numbers v2.23.0-rc.1
Cldr_Numbers v2.23.0-rc.0
Cldr_Numbers v2.22.1
Cldr_Numbers v2.22.0
Cldr_Numbers v2.21.0
Cldr_Numbers v2.20.0
Cldr_Numbers v2.19.0
Cldr_Numbers v2.18.4
Cldr_Numbers v2.18.3
Cldr_Numbers v2.18.2
Cldr_Numbers v2.18.1
Cldr_Numbers v2.18.0
Cldr_Numbers v2.17.0
Cldr_Numbers v2.16.1
Cldr_Numbers v2.16.0
Cldr_Numbers v2.15.4
Cldr_Numbers v2.15.3
Cldr_Numbers v2.15.2
Cldr_Numbers v2.15.1
Cldr_Numbers v2.15.0
Cldr_Numbers v2.14.0
Cldr_Numbers v2.13.2
Cldr_Numbers v2.13.1
Cldr_Numbers v2.13.0
Cldr_Numbers v2.12.1
Cldr_Numbers v2.12.0
Cldr_Numbers v2.11.0
Cldr_Numbers v2.10.0
Cldr_Numbers v2.9.0
Cldr_Numbers v2.8.0
Cldr_Numbers v2.7.2
Cldr_Numbers v2.7.1
Cldr_Numbers v2.7.0
Cldr_Numbers v2.6.4
Cldr_Numbers v2.6.3
Cldr_Numbers v2.6.2
Cldr_Numbers v2.6.1
Cldr_Numbers v2.6.0
Cldr_Numbers v2.5.0
Cldr_Numbers v2.4.4
Cldr_Numbers v2.4.3
Cldr_Numbers v2.4.2
Cldr_Numbers v2.4.1
Bug Fixes
Cldr_Numbers v2.4.0
Enhancements
Cldr_Numbers v2.3.0
Enhancements
Cldr_Numbers v2.2.0
Bug Fixes
Enhancements
Cldr_Numbers v2.1.1
Bug Fixes
Cldr_Numbers v2.1.0
Enhancements
Cldr_Numbers v2.0.0
Breaking Changes
LICENSE
License
Cldr.Number
Summary
Types
format_type/0
Functions
decimal_format_metadata/2
precision/1
to_approx_string/3
to_at_least_string/3
to_at_most_string/3
to_number_system/3
to_number_system!/3
to_range_string/3
to_string/3
to_string!/3
validate_number_system/3
Cldr.Number.Format
Summary
Types
format/0
Functions
all_formats_for/2
all_formats_for!/2
currency_spacing/3
decimal_format_list/1
decimal_format_list_for/2
decimal_format_styles_for/3
default_grouping_for/2
default_grouping_for!/2
format_styles_for/3
format_system_names_for/2
format_system_types_for/2
formats_for/3
formats_for!/3
minimum_grouping_digits_for/2
minimum_grouping_digits_for!/2
short_format_styles/0
short_format_styles_for/3
Cldr.Number.Format.Compiler
Sections
Special Pattern Characters
Summary
Functions
compile/1
exponent_sign/1
format_to_metadata/1
format_to_metadata!/1
formatting_pipeline/1
number_match_regex/0
padding_char/1
parse/1
placeholder/1
tokenize/1
Cldr.Number.Format.Meta
Sections
Format definition
Localisation of number formatting
Formatting directives
List of formatting keywords
Currency symbol formatting
Summary
Types
t/0
Functions
new/0
put_exponent_digits/2
put_exponent_sign/2
put_format/2
put_format/3
put_fraction_digits/3
put_fraction_grouping/2
put_fraction_grouping/3
put_integer_digits/3
put_integer_grouping/2
put_integer_grouping/3
put_multiplier/2
put_padding_char/2
put_padding_length/2
put_round_nearest_digits/2
put_scientific_rounding_digits/2
put_significant_digits/3
Cldr.Number.Format.Options
Summary
Types
currency_symbol/0
fixed_format/0
format/0
short_format_style/0
t/0
Functions
standard_format/5
validate_options/3
Cldr.Number.Formatter.Currency
Cldr.Number.Formatter.Decimal
Summary
Functions
to_string/4
Cldr.Number.Formatter.Short
Summary
Functions
short_format_exponent/2
to_string/4
Cldr.Number.Parser
Summary
Types
per/0
Functions
find_and_replace/3
parse/2
remove_whitespace_between_tokens/1
resolve/3
resolve_currencies/2
resolve_currency/2
resolve_per/2
resolve_pers/2
scan/2
Cldr.Number.Symbol
Summary
Types
t/0
Functions
all_decimal_symbols/1
all_decimal_symbols_class/1
all_grouping_symbols/1
all_grouping_symbols_class/1
number_symbols_for/2
number_symbols_for/3
Cldr.Number.System
Summary
Types
system_name/0
types/0
Functions
algorithmic_systems/0
default_number_system_type/0
default_rbnf_rule/2
generate_transliteration_map/2
known_number_system_types/1
known_number_systems/0
number_system_digits/1
number_system_digits!/1
number_system_for/3
number_system_from_locale/1
number_system_from_locale/2
number_system_names_for/2
number_system_names_for!/2
number_systems/0
number_systems_for/2
number_systems_for!/2
number_systems_like/3
numeric_systems/0
system_name_from/3
system_name_from!/3
systems_with_digits/0
to_system/3
to_system!/3
unknown_number_system_for_locale_error/3
Cldr.Number.Transliterate
Summary
Functions
transliterate/4
transliterate_digits/3
Cldr.Rbnf
Summary
Functions
for_locale/1
for_locale/2
for_locale!/1
for_locale!/2
known_locale_names/1
rbnf_locale_error/1
rbnf_rule_error/2
rule_names_for_locale/1
rule_names_for_locale/2
rule_names_for_locale!/1
Cldr.Rbnf.Processor
Summary
Functions
define_rules/3
rbnf_rule_error/3
Cldr.Rbnf.Rule
Summary
Functions
parse/1
tokenize/1
Exceptions
Cldr.CurrencyAlreadyDefined
Cldr.CurrencyCodeInvalid
Cldr.NoNumberSymbols
Cldr.Number.ParseError
Cldr.Rbnf.NoRule
Cldr.Rbnf.NoRuleForNumber
Search documentation of Cldr Numbers
Settings
View Source
Cldr.CurrencyCodeInvalid
exception
(Cldr Numbers v2.33.0)
Exception raised when an attempt is made to define a currency code that is invalid.
×