sq(aNumber)
Squares a number (multiplies a number by itself). The result is always a positive number, as multiplying two negative numbers always yields a positive result. For example, -1 * -1 = 1
.
Type: function
Parameter(s):
- aNumber {Number}:
The value to be squared.
Returns:
-
{Number}:
Squared number.