Pow()

Syntax

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

Parameters

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

Return value

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

Remarks

This function can handle float and 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'

See Also

Sqr()

Supported OS

All

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