If A is of type Integer, the value of the result is the same as A.
If A is of type Real, the value of the result is the nearest integer whose absolute value is less than that of A.
If A is of type Complex, the value of the result is the nearest integer to the real part of A whose absolute value is less than that of the real part of A.
If A is a BOZ literal constant (i.e. a binary, octal or hexadecimal literal), the result has the same value as that literal.
Like many intrinsic functions, this is elemental;
the result has the same shape as A, with the operation being applied elementwise.