Numeric type. Accepts both integers and floats (any number()).
Integers are accepted without coercion so that size: 14 works
without requiring 14.0. Supports :min and :max field
constraints:
field :opacity, :float, min: 0.0, max: 1.0
Summary
Types
@type t() :: number()