Money v1.1.0 API Reference

Modules

Provides the core functions to retrieve and manage the CLDR data that supports formatting and localisation.

Backend module that provides functions to define new locales.

Formats numbers and currencies based upon CLDR's decimal formats specification.

Implements cardinal plural rules for numbers.

Functions to manage the collection of number patterns defined in Cldr.

Implements ordinal plural rules for numbers.

Implements plural rules for ranges

Transliteration for digits and separators.

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.

Functions to implement the spellout rule-based-number-format rules of CLDR.

Functions to return SQL DDL commands that support the creation and deletion of the money_with_currency database type and associated aggregate functions.

Implements the Ecto.Type behaviour for a user-defined Postgres composite type called :money_with_currency.

Implements Ecto.Type behaviour for Money, where the underlying schema type is a map.

Mix Tasks

Generates a migration to add a aggregation functions to Postgres for the money_with_currency type

Generates a migration to add a composite type called :money_with_currency to a Postgres database.