View Source Flamel.Float protocol (flamel v1.10.0)

The Flamel.Float protocol is responsible for converting a structure to an Float (only if applicable).

Summary

Types

t()

All the types that implement this protocol.

Functions

Converts term to a Float.

Types

@type t() :: term()

All the types that implement this protocol.

Functions

@spec to(t()) :: float()

Converts term to a Float.