View Source Number.Conversion protocol (number v1.0.5)

Converts values to formats consumable by Number.

Summary

Types

t()

All the types that implement this protocol.

Functions

Converts a value to a Decimal.

Converts a value to a Float.

Types

@type t() :: term()

All the types that implement this protocol.

Functions

Converts a value to a Decimal.

Converts a value to a Float.