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.

LREAL

64-bit double-precision IEEE 754 floating-point number.

Size

64 bits

Range

Approximately -1.8E+308 to 1.8E+308

Precision

~15 decimal digits

Default

0.0

IEC 61131-3

Section 2.3.1

Support

Supported

Literals

LREAL#3.14159265358979
LREAL#-1.0
LREAL#1.0E+100

Example

See Also

  • REAL — 32-bit single-precision floating point