Difference between revisions of "Math.pow"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === returns v1 raised to the power of v2 <source lang="lua"> (number), = math.pow(v1v2,) </source> '''v1:'...") |
|||
Line 4: | Line 4: | ||
returns v1 raised to the power of v2 | returns v1 raised to the power of v2 | ||
<source lang="lua"> | <source lang="lua"> | ||
− | (number) | + | (number) = math.pow(v1,v2) |
</source> | </source> | ||
− | '''v1 | + | '''v1''': (number) value to exponentiate ''''''<br/> |
− | '''v2 | + | '''v2''': (number) power in which to exponentiate ''''''<br/> |
'''Returns''' (number) result of exponentiation<br/> | '''Returns''' (number) result of exponentiation<br/> |
Revision as of 10:21, 23 August 2018
Available since: Gideros 2011.6
Description
returns v1 raised to the power of v2
(number) = math.pow(v1,v2)
'v1: (number) value to exponentiate '
'v2: (number) power in which to exponentiate '
Returns (number) result of exponentiation