Ada Programming/Attributes/'Extended Fore

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 integer 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_FORE(Base, Based)