Visible to Intel only — GUID: GUID-4C57BB85-4FE8-4842-BC84-42A8F51D5488
Visible to Intel only — GUID: GUID-4C57BB85-4FE8-4842-BC84-42A8F51D5488
DIGITS
Inquiry Intrinsic Function (Generic): Returns the number of significant digits for numbers of the same type and kind parameters as the argument.
result = DIGITS (x)
x |
(Input) Must be of type integer or real; it can be scalar or array valued. |
Results
The result is a scalar of type default integer.
The result has the value q if x is of type integer; it has the value p if x is of type real. Integer parameter q is defined in Model for Integer Data; real parameter p is defined in Model for Real Data.
Example
If x is of type REAL(4), DIGITS(x) has the value 24.