Sqrt |
Top Previous Next |
Prototype
OutputValue:=Sqrt(Input)
Description
Returns the square root number.
Parameters
Input: integer/float number of which calculate square root.
Returned Value
OutputValue: integer/float number corresponding to the square root.
Notes
None.
Example
// It initializes an integer variable X:=5;
// It calculates square root of variable X SquareTree:= Sqrt(X);
// It logs result ApplicationLog('The square root of '+IntToStr(X)+' is '+FloatToStr(SquareTree)); |