Cldr.Number.Formatter.Decimal.to_string
You're seeing just the function
to_string
, go back to Cldr.Number.Formatter.Decimal module for more information.
Specs
to_string(Cldr.Math.number_or_decimal(), String.t(), Cldr.backend(), list()) :: {:ok, String.t()} | {:error, {module(), String.t()}}
to_string( Cldr.Math.number_or_decimal(), String.t(), Cldr.backend(), Cldr.Number.Format.Options.t() ) :: {:ok, String.t()} | {:error, {atom(), String.t()}}
Formats a number according to a decimal format string.
Arguments
number
is an integer, float or Decimalformat
is a format string. SeeCldr.Number
for further information.backend
is any module that includesuse Cldr
and therefore is aCldr
backend moduleoptions
is a map of options. SeeCldr.Number.to_string/2
for further information.