Integers represent whole numbers and can be positive or negative. There are three types of integers.
![]() | Long (I32)Long integer numbers have 32 bits of storage. |
![]() | Word (I16)Word integer numbers have 16 bits of storage. |
![]() | Byte (I8)Byte integer numbers have 8 bits of storage. |
In most cases, it is best to use a long integer. Refer to the Numeric Data Types Table for more information about numeric data type bits, digits, and range.
When LabVIEW converts floating-point numbers to integers, the VI rounds to the nearest even integer. For example, 2.5 is rounded to 2, and 3.5 is rounded to 4. Refer to Numeric Conversion for more information about how LabVIEW converts numerics.