To Long Integer Function

Owning Palette: Conversion VIs and Functions

Requires: Base Development System

Converts a number to a 32-bit integer in the range –(2^ 31) to (2^ 31)–1. This function rounds all floating-point and fixed-point numeric values to the nearest integer.

The connector pane displays the default data types for this polymorphic function.

Details  

 Add to the block diagram  Find on the palette
number can be a scalar number, array or cluster of numbers, array of clusters of numbers, and so on.
32bit integer is of the same data type structure as number.

To Long Integer Details

If the fractional part of the floating-point or fixed-point value is .5, the function rounds the value to the nearest even integer. For example, the function rounds 13.5 to 14 and rounds 14.5 to 14.