Sqr

Top  Previous  Next

Prototype

 

OutputValue:=Sqr(Input)

 

Description

 

Returns the square number.

 

Parameters

 

Input: integer/float number corresponding to the input value.

 

Return Value

 

OutputValue: square of number

 

Notes

 

None.

 

Example

 

// It initializes a float variable

X:=5.2;

 

// It calculates square of variable X

Square:= Sqr(X);

 

// It logs resul

ApplicationLog('The square of '+FloatToStr(X)+' is '+FloatToStr(Square));