API Reference Cldr Numbers v2.27.2

modules

Modules

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.

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.

Describes the metadata that drives number formatting and provides functions to update the struct.

Functions to validate and transform options that guide number formatting

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

Exception raised when when trying to parse a string into a number and the string is not parseable.

Functions for parsing numbers and currencies from a string.

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)

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.

Macro to define the interpreter for the compiled RBNF rules specific to a rule group (Ordinal, Spellout, NumberingSystem)

Tokenizer and Parser for RBNF rules.