Attention
IronPLC can only run very simple programs. The steps described are accurate but many language features are not yet supported.
REAL¶
32-bit single-precision IEEE 754 floating-point number.
Size |
32 bits |
Range |
Approximately -3.4E+38 to 3.4E+38 |
Precision |
~7 decimal digits |
Default |
0.0 |
IEC 61131-3 |
Section 2.3.1 |
Support |
Supported |
Literals¶
REAL#3.14
REAL#-1.0
REAL#1.0E+10
REAL#2.5E-3
See Also¶
LREAL — 64-bit double-precision floating point