Base Scripting Language GuidePascal-Library Custom Scripting FunctionsSqrOn this pageSqrReturns the square of a number. Structure Sqr(number): Extended; Parameters Return value Description The Sqr function returns the square of the argument. X is a floating-point expression. The result, of the same type as X, is the square of X, or X*X.