Ada Programming/Attributes/'Scale
Appearance
Description
[edit | edit source]Position of the fixed-point relative to the rightmost significant digits of values of subtype S.
S'Scale denotes the scale of the subtype S, defined as the value N such that S'Delta = 10.0**(–N). The scale indicates the position of the point relative to the rightmost significant digits of values of subtype S. The value of this attribute is of the type universal_integer.
Example
[edit | edit source]S’Scale return universal_integer