User Tools

Site Tools


syntax:functions:pow

Pow(number, power)

Category: Number function


Description

This function raises number to the power of power.


Arguments

ArgumentTypeDescription
numberNumberThe (base) value to be raised to the power of power.
powerNumber (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 Exp(power) function.


Examples

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/pow.txt · Last modified: 2021/08/11 15:29 by craigt