Click or drag to resize

Pow Function

Raise the first argument to the numeric power specified by the second argument.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.08
Syntax
 FUNCTION Pow(
	nBase AS USUAL,
	nExponent AS USUAL
) AS FLOAT
View Source

Parameters

nBase
Type: Usual
The base number.
nExponent
Type: Usual
The power to which to raise the base number.

Return Value

Type: Float
Remarks
Examples
This example uses Pow() to raise 2 to the 3rd power:
X#
? Pow(2,3)                        // 8.00
See Also