# `DimensionFormat.decimals`

> Contract 2.0.0 · package sha256 `a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e` · generated from `configurator-runtime.d.ts` by `services/onsite-scripter/scripts/build-contract-docs.mjs`; edit the source, not this file.

Property of [`DimensionFormat`](DimensionFormat.md) · stable · since 2.0.0

```ts
decimals?: number;
```

Decimal places of the printed number, rounded ('1.25 m' with 2).

**Default:** 0

## Generic-API test (spec 3.1)

| Rule | Result |
| --- | --- |
| 1. Neutral name | pass: `decimals` names no product |
| 2. A precedent | pass (through its owner [`DimensionFormat`](DimensionFormat.md)): [Intl.NumberFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat) (row `G14`); [Unity Renderer.bounds](https://docs.unity3d.com/ScriptReference/Renderer-bounds.html) (row `G14`) |
| 3. Two apps, or labs | pass (through its owner [`DimensionFormat`](DimensionFormat.md)): 4 apps (ledger: app-ceb4eccc72, app-fb16dd1985, app-fc306ec3dc, app-fd09090420) |
| 4. The cheaper fix first | decided per need in Appendix B: rows `G14` (through its owner [`DimensionFormat`](DimensionFormat.md)) at tier stable (a member only where no rule, data, asset or app code serves the need) |
