Go to the first, previous, next, last section, table of contents.


AInt Intrinsic

AInt(A)

AInt: REAL function, the `KIND=' value of the type being that of argument A.

A: REAL; scalar; INTENT(IN).

Intrinsic groups: (standard FORTRAN 77).

Description:

Returns A with the fractional portion of its magnitude truncated and its sign preserved. (Also called "truncation towards zero".)

See section ANInt Intrinsic, for how to round to nearest whole number.

See section Int Intrinsic, for how to truncate and then convert number to INTEGER.


Go to the first, previous, next, last section, table of contents.