SQRT

The IEC operator returns the square root of a number.

Permitted data types for the input variables: any numeric basic data type

Permitted data types for the output variables: REAL or LREAL

Examples:

Result: fVar is 4.

ST:

fVar := SQRT(16);

FBD:

SQRT 1: