< Ada Programming < Attributes

Ada. Time-tested, safe and secure.

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

Wikibook

Ada Reference Manual

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.