Platform | x64, Win32, .NET |
Purpose |
To get the number of significant digits for a given type of number. |
Class |
Inquiry function. |
Syntax |
INTEGER FUNCTION DIGITS(X) |
Description |
X is integer or real, scalar or array. The result is dependent on the type and kind type of the variable. It is the number of significant digits in the model for an integer and the number of significant figures in the mantissa of the model for a real. The result depends on the base that is used in the model (e.g. base 2 or base 10). |