Number
A primitive Value Type for lossless numeric values without a physical unit or monetary denomination.
type: data-model · status: draft · abstraction: instance
What it is
Number stores a finite, lossless decimal without a physical unit or monetary denomination. It covers counts, ratios, percentages, multipliers, scores, sequence positions and abstract indices. Property configuration may constrain the value to integers, set minimum and maximum values, limit decimal places and control presentation.
Percentages use Number rather than Measurement. They are stored canonically as decimal ratios: 25% is stored as 0.25 and rendered as 25%. Presentation never changes the stored value. Counts normally use an integer constraint; ratios and multipliers normally allow decimals.
Number must not be used to disguise semantic quantities. A physical or operational quantity that carries a convertible unit uses Measurement, while a monetary amount uses Money. Cosmetic formatting cannot turn a Number into either type.