#### Name

### pow()

#### Examples

Player:

{

var1: 3

var2: 5

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.#### Syntax

- pow(number)
- pow(number,power)

#### Related

The copyright of all images rendered by me goes to their respective owners.

Copyright © Daniel Svejstrup Christensen 2008-2019