Cldr Numbers v1.4.1 API Reference
Modules
Defines a currency structure and a set of functions to manage the validity of a currency code and to return metadata for currencies
Formats numbers and currencies based upon CLDR’s decimal formats specification
Functions to manage the collection of number patterns defined in Cldr
Compiles number patterns with a lexer/parser into patterns for fast runtime interpretation
Number formatter for the :currency
:long
format
Formats a number according to a locale-specific predefined format or a user-defined format
Formats a number according to the locale-specific :short
formats
String helper functions
Functions to manage the symbol definitions for a locale and number system
Functions to manage number systems which describe the numbering characteristics for a locale
Transliteration for digits and separators
Functions to implement Rules Based Number Formatting (rbnf)
Functions to implement the number system rule-based-number-format rules of CLDR
Functions to implement the ordinal rule-based-number-format rules of CLDR
Macro to define the interpreter for the compiled RBNF rules specific to a rule group (Ordinal, Spellout, NumberingSystem)
Tokenizer and Parser for RBNF rules
Functions to implement the spellout rule-based-number-format rules of CLDR
Exceptions
Exception raised when an attempt is made to define a currency that already exists
Exception raised when an attempt is made to define a currency code that is invalid
Exception raised when when there are no number symbols for a locale and number system
Exception raised when an attempt is made to invoke an RBNF rule that is not supported for a given locale
Exception raised when an attempt is made to invoke an RBNF rule for a number that is not supported by that rule