411 REFERENCE · Wikibooks
Ada Programming/Attributes/'Fore
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Description
Minimum number of characters needed before the decimal point.
S'Fore yields the minimum number of characters needed before the decimal point for the decimal representation of any value of the subtype S, assuming that the representation does not include an exponent, but includes a one-character prefix that is either a minus sign or a space. (
This minimum number does not include superfluous zeros or underlines, and is at least 2.)
The value of this attribute is of the type universal_integer.
Example
S’Fore return universal_integer