# `type.decimal_scale_required`

Decimal type has no scale.

Area 2, [Values and types](../topics/values-and-types.md); not declinable; the next step is usually the agent's.

```jadpo
type ItemPrice = Decimal {
    min: 0.00
}
```

```text
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

check failed: 1 error, 1 file
```
