LazyInteger

Ecto type to cast floats or strings to integers for your schemas.

Installation

Available in Hex, the package can be installed as:

  1. Add lazy_integer to your list of dependencies in mix.exs:
```elixir
def deps do
  [{:lazy_integer, "~> 0.1.0"}]
end
```
  1. Ensure lazy_integer is started before your application:
```elixir
def application do
  [applications: [:lazy_integer]]
end
```