Documentation

TO_STRING

Function name

TO_STRING

ST call

PROGRAM TO_STRING_DEMO
VAR
I1: INT;
S1: REAL;
END_VAR
S1:=TO_STRING(I1);
END_PROGRAM

Description

The function brings the input value to the output as a string.

Inputs

Input Type Description
IN ANY_MAGNITUDE Input value

Outputs

Output Type Description
=> STRING Output value

Application example