Description

Calculates the square of a number: the number multiplied by itself.

Syntax

sq(x)

Parameters

x: the number, any data type

Returns

The square of the number. (double)

Guide Home