Ada Programming/Attributes/'Digits

Description
X'Digits is an Ada attribute where X is any floating point type or decimal fixed point type. This attribute represents the number of decimal digits in the mantissa of type X.

Example
My_Float  10  0.0 .. 100.0; ...  (My_Float'Digits = 10);

Wikibook

 * Ada Programming
 * Ada Programming/Attributes

Ada Reference Manual


|Digits