ClassesClassesClassesClasses | | | | Operators

tuple_roundtuple_roundTupleRoundtuple_roundTupleRoundTupleRound (Operator)

Name

tuple_roundtuple_roundTupleRoundtuple_roundTupleRoundTupleRound — Convert a tuple into a tuple of integer numbers.

Signature

tuple_round( : : T : Round)

Herror tuple_round(double T, Hlong* Round)

Herror T_tuple_round(const Htuple T, Htuple* Round)

Herror tuple_round(const HTuple& T, Hlong* Round)

Herror tuple_round(const HTuple& T, HTuple* Round)

void TupleRound(const HTuple& T, HTuple* Round)

HTuple HTuple::TupleRound() const

void HOperatorSetX.TupleRound(
[in] VARIANT T, [out] VARIANT* Round)

VARIANT HTupleX.TupleRound([in] VARIANT T)

static void HOperatorSet.TupleRound(HTuple t, out HTuple round)

HTuple HTuple.TupleRound()

Description

tuple_roundtuple_roundTupleRoundtuple_roundTupleRoundTupleRound converts the input tuple TTTTTt into a tuple of integer numbers by rounding TTTTTt 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_roundTupleRoundtuple_roundTupleRoundTupleRound, which can be used in an expression in the following syntax:

Round := round(T)

Parallelization

Parameters

TTTTTt (input_control)  number(-array) HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)

Input tuple.

RoundRoundRoundRoundRoundround (output_control)  number(-array) HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Result of the rounding.

Alternatives

tuple_inttuple_intTupleInttuple_intTupleIntTupleInt

Module

Foundation


ClassesClassesClassesClasses | | | | Operators