Event: Game_Start { var1 = pow(var1) // Sets the value of var1 to var1 raised to the power of 2 to it
var2 = pow(var2,3) // Sets the value of var2 to var2 raised to the power of 3 to it
print(var1 + ", " + var2) // Outputs 9, 125 } }
Description
Returns the parsed number raised to the power of power. If a number is parsed without a power, then the number will be raised to the power of 2 by default.
pow() is a useful way of calculating the result of a number multiplied by itself a large quantity of times.