Math.pow

From GiderosMobile
Revision as of 14:28, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2011.6
Class: math

Description

Returns v1 raised to the power of v2. <syntaxhighlight lang="lua"> (number) = math.pow(v1,v2) </source>

Parameters

v1: (number) value to exponentiate
v2: (number) power in which to exponentiate

Return values

Returns (number) result of exponentiation

See also

Mutation Operators