Number.Conversion protocol (number v1.0.3)

Converts values to formats consumable by Number.

Link to this section Summary

Functions

Converts a value to a Decimal.

Converts a value to a Float.

Link to this section Types

Specs

t() :: term()

Link to this section Functions

Link to this function

to_decimal(value)

Converts a value to a Decimal.

Link to this function

to_float(value)

Converts a value to a Float.