REAL

Top  Previous  Next

 

This data type has got a size of 4 bytes. The internal format is hardly to read for human beings.

The number area goes from about -10 to the 38th (power) up to -10 to the -38th (power), nought and then from 10 to the -38th (power) up to 10 to the 38th (power).

Entering REAL constants you have to enter a point in every case, that means ‘8.0’and not ‘8’, otherwise your system interprets your entering as integer which leads to absurd results evaluating as REAL number.

 

RND        Converts REAL into DINT

DTR        Converts DINT into REAL

Calculating Operations

Trigonometric Operations

 

Data Types