From 6:00 PM CST Friday, Feb 15th - 2:00 AM CST Sunday, Feb 17th, will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Table Of Contents

Numeric Data

Last Modified: September 25, 2017

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