Ada Programming/Attributes/'Fore

Description

edit

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

edit
SFore return universal_integer