TO_REAL
Function name
TO_REAL
ST call
PROGRAM TO_REAL_DEMO VAR I1: INT; R1: REAL; END_VAR R1:=TO_REAL(I1); END_PROGRAM
Description
The function brings the input value to the output as a real number.
Inputs
| Input | Type | Description |
| IN | ANY_ELEMENTARY | Input value |
Outputs
| Output | Type | Description |
| ⇒ | REAL | Output value |

