tuple_roundtuple_roundTupleRoundTupleRound (Operator)
Name
tuple_roundtuple_roundTupleRoundTupleRound
— Convert a tuple into a tuple of integer numbers.
Signature
Herror tuple_round(double T, Hlong* Round)
Herror T_tuple_round(const Htuple T, Htuple* Round)
Description
tuple_roundtuple_roundTupleRoundTupleRoundTupleRound
converts the input tuple TTTTt
into a tuple
of integer numbers by rounding TTTTt
to the nearest integer.
The conversion of a string is not allowed.
Exception: Empty input tuple
If the input tuple is empty, the operator returns an empty tuple.
HDevelop In-line Operation
HDevelop provides an in-line operation for tuple_roundtuple_roundTupleRoundTupleRoundTupleRound
,
which can be used in an expression in the following syntax:
Round := round(T)
Execution Information
- Multithreading type: independent (runs in parallel even with exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
TTTTt
(input_control) number(-array) →
HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Input tuple.
RoundRoundRoundRoundround
(output_control) number(-array) →
HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Result of the rounding.
Alternatives
tuple_inttuple_intTupleIntTupleIntTupleInt
Module
Foundation