User Tools

Site Tools


syntax:functions:pow

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
syntax:functions:pow [2016/06/20 11:57] dmitrysyntax:functions:pow [2021/08/11 15:29] (current) – [Examples] craigt
Line 1: Line 1:
-===== Pow(number, power) =====+====== Pow(number, power) =====
 +Category:  Number function
  
-The power function. Raises //number// to the power of //power//.+\\  
 +=====Description===== 
 +This function raises //number// to the power of //power//.
  
- Example   Result  +\\  
-pow(2,10  1024 |+=====Arguments===== 
 +^Argument^Type^Description
 +|number|Number|The (base) value to be raised to the power of //power//.| 
 +|power|Number (non-negative>=0)|The exponent to raise //number// to.| 
 +\\  
 +**Return value type:**  Number
  
 +\\ 
 +=====Remarks=====
 +If you are looking to raise the mathematical constant //e// to a power, refer to the [[syntax:functions:exp|Exp(power)]] function.
  
-=== See also === +\\  
-  * [[syntax:functions:exp]] +=====Examples===== 
-  * [[syntax:functions:log]]+ 
 +  pow(2,10) //Returns 1024 
 + 
 +  pow(10,2) //Returns 100 
 + 
 +  pow(5,-2) //Returns "#Inappropriate argument for Pow(number, power)" (Exponent must be greater or equal to zero.) 
 + 
 +\\  
 +===== See also ===== 
 +  * [[syntax:functions:exp|Exp(power)]] 
 +  * [[syntax:functions:log|Log(number)]]
syntax/functions/pow.1466438260.txt.gz · Last modified: 2016/06/20 11:57 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki