syntax:functions:square
Table of Contents
Square(number)
Category: Number function
Description
This function returns the square of number.
Arguments
Argument | Type | Description |
---|---|---|
number | Number | The value to be squared (multiplied by itself). |
Return value type: Number
Examples
square(2) //Returns 4
square(25) //Returns 625
square(-10) //Returns 100
square(12.4) //Returns 153.76
See also
syntax/functions/square.txt · Last modified: 2021/08/11 15:36 by craigt