Casts values to decimals.
Accepts a Decimal, an integer, a float, or a string. NaN and the
infinity values are not valid.
This type needs the optional :decimal package:
{:decimal, "~> 3.0"}Decimal 2.x is not supported.
Summary
Types
@type t() :: Decimal.t()