DarkMatter.Decimals.Conversion.to_string

You're seeing just the function to_string, go back to DarkMatter.Decimals.Conversion module for more information.

Specs

to_string(stringable()) :: String.t() | nil

Transform a t:stringable.t/0 into a normalized string.

Raises ArgumentError if a given binary isn't a valid Decimal.

Link to this function

to_string(stringable, atom)

View Source

Specs

to_string(stringable(), to_string_formatter()) :: String.t() | nil

Transform a t:stringable.t/0 into a normalized formatted string.

Raises ArgumentError if a given binary isn't a valid Decimal.