Values and types · rule
type.decimal_scale_required
Decimal type has no scale.
Area 2, Values and types; not declinable; the next step is usually the agent's.
type ItemPrice = Decimal { min: 0.00}
error: `ItemPrice` needs a `scale` --> main.jadpo:1:6 |1 | type ItemPrice = Decimal { | ^^^^^^^^^ a `Decimal` type reason: A `Decimal` is exact with a fixed number of decimal places, its `scale`, which sets how it is stored and sent. next: Add `scale:` with the number of decimal places, such as `scale: 2` (agent) rule: type.decimal_scale_required help: https://jadpo.dev/docs/errors/type.decimal_scale_requiredcheck failed: 1 error, 1 file
Markdown for agents: /docs/errors/type.decimal_scale_required.md.Built from Jadpo main at a707efb.