modding:function:power
power
| Syntax | (power number number) |
|---|---|
| Arguments | number: The base of the exponentiation function. |
| number: The exponent of the exponentiation function. | |
| Returns | number: The first argument raised by the second argument. |
| Category | 0.99, math |
| Description | Takes the first argument and raises it to the second argument then returns the result. |
Example
(power 42 0)
Will return a 1. Return to Functions list
modding/function/power.txt · Last modified: by 127.0.0.1
