Number (Integer or Real)
There are 2 types of number values:
Integer values are whole numbers that can be positive or negative. Zero (0) is also an integer value. Integers in ClearSCADA are represented in base 10 (decimal).
The range of numbers is:
-2147483648 to 2147483647
(sometimes referred to as floating-point values) Real values are whole numbers with a decimal portion. They can also be expressed in scientific notation (exponential notation).
Real numbers are represented using the eight byte IEEE 754 standard for numerical representation (double precision). You can include numbers in this range:
From:
±2.2250738585072014 x 10-308
To:
±1.7976931348623157 x10308
Numbers that begin with a single 0 and contain a decimal point are read as real values.
When a real value is expressed in scientific notation, the letter 'e' or 'E' is used to represent 'ten to the power of'.
Example:
Number |
Description |
Decimal Equivalent |
---|---|---|
.0001 |
Real value |
0.0001 |
0.0001 |
Real value |
0.0001 |
00.0001 |
Real value |
0.0001 |
1e-4 |
Real value with exponentiation |
0.0001 |
1.0e-4 |
Real value with exponentiation |
0.0001 |
65 |
Integer value |
65 |