Money.Cldr.Number.to_at_least_string
You're seeing just the function
to_at_least_string
, go back to Money.Cldr.Number module for more information.
Specs
to_at_least_string(number() | Decimal.t(), Keyword.t() | Keyword.t() | map()) :: {:ok, String.t()} | {:error, {module(), String.t()}}
Formats a number and applies the :at_least
format for
a locale and number system.
Arguments
number
is an integer, float or Decimal to be formattedoptions
is a keyword list defining how the number is to be formatted. SeeMoney.Cldr.Number.to_string/2
for a description of the available options.
Example
iex> Money.Cldr.Number.to_at_least_string 1234
{:ok, "1,234+"}