Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Round Toward +Infinity

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Rounds the input to the next highest integer.

For example, if the input is 3.1, the result is 4. If the input is –3.1, the result is –3. The connector pane displays the default data types for this polymorphic function.

Example

x can be a scalar number, array or cluster of numbers, array of clusters of numbers, and so on.
ceil(x): smallest int >= x is the resulting highest integer, closest to x. If the input is a time stamp value, the function rounds to the next second.

Example

Refer to the Add - Various Uses VI in the labview\examples\general\functions\Numeric directory for an example of using the Round Toward +Infinity function.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit