Operador «^»

Eleva un número a unha potencia.

Sintaxe:


Resultado = Expresión ^ Expoñente

Parámetros:

Result: Any numerical expression that contains the result of the number raised to a power.

Expression: Numerical value that you want to raise to a power.

Exponent: The value of the power that you want to raise the expression to.

Exemplo:


Sub Example
    Print ( 12.345 ^ 23 )
    Print Exp ( 23 * Log( 12.345 ) ) REM Eleva formando un logaritmo
End Sub

Precisamos da súa axuda!