VEC_TRUNC(ARG1)

Purpose

Returns a vector containing the truncated values of the corresponding elements of the given vector.

Class

Elemental function

Argument type and attributes

ARG1
An INTENT(IN) real vector.

Result type and attributes

The result is a vector of the same type as ARG1.

Result value

Each element of the result contains the value of the corresponding element of ARG1, truncated to an integral value.