Ada Programming/Attributes/'Aft

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

Ada Lovelace 1838.jpg

S'Aft is an Ada attribute where S is a fixed point subtype.

S'Aft returns the number digits needed after the decimal point to accommodate the precision of the subtype S, unless the delta of the subtype S is larger than 0.1, in which case the attribute returns a value of 1.

See also[edit]

Wikibook[edit]

Ada Reference Manual[edit]