Attention
IronPLC implements many parts of the IEC 61131-3 standard and is working toward full Structured Text support. Key features still missing include structures and user defined function blocks.
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
Example¶
See Also¶
LREAL — 64-bit double-precision floating point