Skip to main content

Elevate

This formula allows you to elevate numbers to the power of other numbers.

Returns​

integer | decimal

JSON Format​

{
"type": "elevate",
"components": ...
}

RPG Script​

This component can be written in RPG Script as:

elevate(...)

Fields​

FieldTypeRequiredDescription
componentsStatFormulaComponent✓The formula for the list of numbers that should be involved in the operation. This list should have at least 2 numbers. The first number will be elevated to the power of the second number. If the list has more numbers in it, the result of that first operation will be elevated to the power of the third number in the list, and so on. e.g: [2, 3, 2] will evaluate to 64, since 2^3 = 8 and 8^2 = 64.
@type array<integer | decimal>