From 12:00 PM - 4:00 PM CST on Thursday, October 18, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Table Of Contents

Round toward Positive Infinity (Clock-Driven Logic)

Last Modified: January 12, 2018

Expresses the input to the next higher round integer.

For example, if the input is 3.1, the result is 4. If the input is -3.1, the result is -3.

connector_pane_image
datatype_icon

x

An input to this operation.

This input supports scalar numbers, arrays or clusters of numbers, arrays of clusters of numbers, and waveforms.

datatype_icon

rounded number

The resulting highest integer, closest to the input.

When x is of the form x = a + bi, that is, when x is complex, the function returns a complex number defined by the next highest integers to the real and imaginary parts of x. The following equation defines rounded number:

ceil(x) = ceil(a) + i ceil(b)

Where This Node Can Run:

Desktop OS: none

FPGA: All devices

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics