# `Numbers.Protocols.ToFloat`

For supporting `Numbers.to_float/1`.

# `t`

```elixir
@type t() :: term()
```

All the types that implement this protocol.

# `to_float`

```elixir
@spec to_float(t()) :: {:ok, t_as_float :: float()} | :error
```

Convert the custom Numeric struct
to the built-in float datatype.

It is okay to lose precision during this conversion.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
