User Tools

Site Tools


syntax:functions:square

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
syntax:functions:square [2014/09/16 21:44] – created dmitrysyntax:functions:square [2021/08/01 00:38] craigt
Line 1: Line 1:
 ====== Square(number) ====== ====== Square(number) ======
 +Category:  Number function
  
-Square of number.+\\  
 +=====Description===== 
 +This function returns the square of //number//.
  
- Example   Result  +\\  
-square(25 |  625 | +=====Arguments===== 
-square(- 10)  |  100 |+^Argument^Type^Description
 +|number|Number|The value to be squared (multiplied by itself).| 
 +\\  
 +**Return value type:**  Number 
 + 
 +\\  
 +=====Examples===== 
 + 
 +  square(2) = 4 
 +  square(25) = 625 
 +  square(-10) = 100 
 +  square(12.4) = 153.76 
 + 
 +\\  
 +===== See also ===== 
 +  * [[syntax:functions:sqrt|Sqrt(number)]] 
 +  * [[syntax:functions:pow|Pow(number, power)]]
  
syntax/functions/square.txt · Last modified: 2021/08/11 15:36 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki