Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Integers

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

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.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit