To Word Integer Function

Owning Palette: Conversion VIs and Functions

Requires: Base Development System

Converts a number to a 16-bit integer in the range –32,768 to 32,767.

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.
16bit integer is of the same data type structure as number.

To Word Integer Details

This function rounds all floating-point and fixed-point numeric values to the nearest integer. If the fractional part of the 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.