Power(Value: Double; PowerValue: Double): Double;
Value. A real number raised to the power.
PowerValue. Power value.
The Power method returns the result of raising a real number to power.
Values of input parameters cannot be empty.
If the Value parameter is set as a negative number, the PowerValue parameter mjst be integer, otherwise the function returns error.
To execute the example, add a link to the MathFin system assembly.
Sub UserProc;
Var
r: Double;
Begin
r := Math.Power(4,1.25);
Debug.WriteLine(r);
End Sub UserProc;
After executing the example the console window displays the result of raising to the power equal to 5.65685424949238.
See also: