Pow()

Syntax

Result.f(.d) = Pow(Number.f(.d), Power.f(.d))
Description
Returns the given number, raised to the given power.

Parameters

Number.f or Number.d The mantissa.
Power.f(.d) The exponent. If 'Number.f(.d)' is negative, the exponent must be a whole number.

Return value

Returns the value of 'Number' raised to the power 'Power'.

Remarks

This function handles and returns float or double values.
The symbol '^' itself is not a supported operator. This is what the Pow() function is available for.

Example

  Debug Pow(2.0, 3.0)    ; will display '8.0'
  Debug Pow(27.0, 1/3.0) ; will display '3.0', the cubic-root

See Also

Sqr()

Supported OS

All

<- NaN() - Math Index - Radian() ->