View Source BetterNumber.Conversion protocol (better_number v1.0.1)

Converts values to formats consumable by BetterNumber.

Summary

Types

t()

All the types that implement this protocol.

Functions

Converts a value to a Decimal.

Converts a value to a Float.

Converts a value to an Integer in an Either style.

Types

@type t() :: term()

All the types that implement this protocol.

Functions

Converts a value to a Decimal.

Converts a value to a Float.

Converts a value to an Integer in an Either style.