User Tools

Site Tools


syntax:functions:square

Square(number)

Category: Number function


Description

This function returns the square of number.


Arguments

ArgumentTypeDescription
numberNumberThe 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