Cldr.Print.Backend.Number.Formatter.Decimal (ex_cldr_print v0.4.0) View Source
Link to this section Summary
Functions
Formats a number according to a decimal format string.
Link to this section Functions
Specs
to_string( Cldr.Math.number_or_decimal(), String.t() | Cldr.Number.Format.Meta.t(), Keyword.t() | Cldr.Number.Format.Options.t() ) :: {:ok, String.t()} | {:error, {module(), String.t()}}
Formats a number according to a decimal format string.
Arguments
numberis an integer, float or Decimalformatis a format string. SeeCldr.Print.Backend.Numberfor further information.optionsis a map of options. SeeCldr.Print.Backend.Number.to_string/2for further information.