Ash.Type.Decimal (ash v3.5.24)
View SourceRepresents a decimal.
A builtin type that can be referenced via :decimal
Constraints
:precision
- Enforces a maximum number of significant digits. Set to :arbitrary for no limit. The default value is:arbitrary
.:scale
- Enforces a maximum number of decimal places. Set to :arbitrary for no limit. The default value is:arbitrary
.: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)