Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 5 Nov 2026. What's built · Install 0.3.0
jadpo
ReferenceErrors

ErrorsValues 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.

example
type ItemPrice = Decimal {    min: 0.00}
jadpo checkcheck failed: 1 error, 1 file

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_required

Markdown for agents: /docs/errors/type.decimal_scale_required.md.Built from Jadpo main at aee2e8f.