SQRTPermalink

IEC operator: Returns the square root of a number.

⮫ “Overview”

IN can be type BYTE, WORD, DWORD, INT, DINT, REAL, SINT, USINT, UINT, UDINT. OUT must be type REAL.

Example in ST:

‎q:=SQRT(16);‎

Example in FBD:

sqrt