To Byte Integer Function

Owning Palette: Conversion VIs and Functions

Requires: Base Development System

Converts a number to an 8-bit integer in the range -128 to 127.

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

To Byte Integer Details

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