Ada Programming/Attributes/'Scale

From Wikibooks, open books for an open world
Jump to navigation Jump to search

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]
SScale return universal_integer