Table of Contents

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