Table Of Contents

Numeric Data

Version:
    Last Modified: December 6, 2016

    You can program using a variety of numeric data types, each with different qualities and ranges. The differences among the numeric data types are the number of bits they use to store data and the data values they represent.

    The following table describes the differences among the numeric data types.

    Type Description Representation on the Diagram
    Integers Represent whole numbers. Signed integers can be positive or negative. Use unsigned integers when you know the integer is always zero or positive.
    Floating-Point Numbers Represent fractional numbers. Double-precision floating-point numbers store more digits than single-precision floating-point numbers.
    Complex Numbers Represent a point in the complex numeric plane. Each value is comprised of two floating-point numbers, one representing the real part and the other representing the imaginary part.

    On the panel, you can use many types of controls and indicators to represent numeric values.


    Recently Viewed Topics