Math.Power |
Top Previous Next |
Syntax function Math.Power(Base, Exponent: float): float
Alternative Names
Description Performs an exponentiation, for example Power(4, 3) means 4³, resulting in 4 x 4 x 4 = 64.
The Return Value is the Base to the power of Exponent.
Example execute UDSBlock as begin /* perform 4 x 4 x 4 = 16 */ Res = Math.Power(4, 3); GUI.ShowMessage('Result (64): ' || Res); end |