2.2.11.2.2.2.2 Numeric Values

A numeric value represents a number with or without units. Boolean values, currency values, color values, and date values are classified separately.

A numeric value is specified as one of the tokens in the custom token group vNum (except PtgDate). Other token types can also represent numeric values as specified in the vDouble, vFloat, vSignedInt, vSignedLong, vUnsignedInt, and vUnsignedLong custom input types. 

Numeric values that represent length, angle, duration, and typographic units, as well as higher dimensional forms of these units, are described in the Unit Number section. These numeric values have the special property so that their Value property is specified as a Custom Internal Unit Type. When found in a formula expression, the Value is converted to the Unit and Dimension properties of the operand token; this is called the display value. During formula evaluation, the operand token Value (not the display value) from the formula expression is used.

A numeric value that represents a percentage value is specified as a PtgNumPct parse token. The Value is a number as a fraction of 100, the Unit is equal to "PER", and the Dimension is zero.

If the numeric value has no units, it represents a number and is persisted in the file as a PtgNum parse token or equivalent member of the vScalar custom token group. The Value is equal to the numeric value, and the Dimension is zero. It does not have a Unit.