Table of Contents

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

InputType Description
IN ANY_MAGNITUDEInput value

Outputs

OutputType Description
STRINGOutput value

Application example