From 09:00 PM Friday, August 7 - 10:30 AM CST Saturday, August 8, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Integers

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Integers represent whole numbers and can be positive or negative. Refer to the Numeric Data Types Table for more information about numeric data type bits, digits, and range. There are four types of integers.

Byte (I8)—Byte integer numbers have 8 bits of storage.
Word (I16)—Word integer numbers have 16 bits of storage.
Long (I32)—Long integer numbers have 32 bits of storage. In most cases, it is best to use a 32-bit integer.
Quad (I64)—Quad integer numbers have 64 bits of storage.

When LabVIEW converts floating-point numbers to integers, the VI rounds to the nearest even integer. For example, LabVIEW rounds 2.5 to 2 and rounds 3.5 to 4. Refer to Numeric Conversion for more information about how LabVIEW converts numeric representations.

WAS THIS ARTICLE HELPFUL?

Not Helpful