→Real literal

according to →IEC-standard: →literal directly representing a value of type REAL or LREAL

Examples for real literals

Description

Examples

Real literal

0, 0.0, 0.4560, 3.14159_26

Real literal with exponent

-1.34E-12, -1.34e-12
1.0E+6, 1.0e+6, 1E+6
1.234E6, 1.234e6

above possibilities as typed literal of type REAL or LREAL
(if the value is positioned within the range of values for the specific type)

REAL#0.0, REAL#1.0E+6