View Source Ash.Type.Decimal (ash v3.4.43)

Represents a decimal.

A builtin type that can be referenced via :decimal

Constraints

  • :max - Enforces a maximum on the value

  • :min - Enforces a minimum on the value

  • :greater_than - Enforces a minimum on the value (exclusive)

  • :less_than - Enforces a maximum on the value (exclusive)

Summary

Functions

handle_change?()

prepare_change?()