Expresses the input to the nearest round integer.
An input to this operation.
This input supports waveforms and any data type that contains only numbers, such as scalar numbers, arrays or clusters of numbers, and arrays of clusters of numbers.
The resulting nearest integer to the input value.
Complex Numbers
When x is complex, this node returns a complex number defined by the nearest integer to the real and imaginary parts of x. The following equation defines nearest integer value:
nearest integer value(x) = nearest integer value(a) + i * nearest integer value(b)
Rounding Behavior
If the value of the input is midway between two integers, this node returns the nearest even integer.
For example, if x is 1.5 or 2.5, nearest integer value is 2.