DIGITS(X)

Purpose

Returns the number of significant digits for numbers whose type and kind type parameter are the same as the argument.

Class

Inquiry function

Argument Type and Attributes

X
must be of type integer or real. It may be scalar or array valued.

Result Type and Attributes

Default integer scalar.

+-------------------------------IBM Extension--------------------------------+

Result Value

+----------------------------End of IBM Extension----------------------------+

+-------------------------------IBM Extension--------------------------------+

Examples

DIGITS (X) = 63, where X is of type integer(8) (see Data Representation Models).

+----------------------------End of IBM Extension----------------------------+

IBM Copyright 2003