Ada Programming/Attributes/'Extended Aft

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

Description

[edit | edit source]

Returns the minimum number of characters required for the fractional part of the representation of the fixed point subtype T. All parameters are optional. They are:

Base : Number_Base := 10
the base in which the digits will be represented.
Based : Boolean := FALSE
if TRUE, compute the width of the based format (e.g.,10#99.0#).

Example

[edit | edit source]
T'EXTENDED_AFT(Base, Based)