User Tools

Site Tools


modding:function:power

power

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: 2014/12/27 04:40 by 127.0.0.1