Pow()

语法

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

参数

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

返回值

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.

示例

  Debug Pow(2.0, 3.0)  ; will display '8.0'

参阅

Sqr()

已支持操作系统

所有

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