TO_LREAL

TO_LREAL

PROGRAM TO_LREAL_DEMO
   VAR
           LI1: LINT; 
     LR1: LREAL;
   END_VAR
    LR1:=TO_LREAL(LI1);
END_PROGRAM

The function brings the input value to the output as a real number.

InputType Description
IN ANY_ELEMENTARYInput value
OutputType Description
LREALOutput value

  • © Energocentrum Plus, s.r.o. 2017 - 2024