Difference between revisions of "Math.pow"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 +
'''Class:''' [[math]]<br/>
 +
 
=== Description ===
 
=== Description ===
returns v1 raised to the power of v2
+
Returns v1 raised to the power of v2.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = math.pow(v1,v2)
 
(number) = math.pow(v1,v2)
</source>
+
</syntaxhighlight>
 +
 
 
=== Parameters ===
 
=== Parameters ===
'''v1''': (number) value to exponentiate <br/>
+
'''v1''': (number) value to exponentiate<br/>
'''v2''': (number) power in which to exponentiate <br/>
+
'''v2''': (number) power in which to exponentiate<br/>
 +
 
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) result of exponentiation<br/>
+
'''Returns''' (number) result of exponentiation
 +
 
 +
=== See also ===
 +
'''[[Mutation Operators]]'''
 +
 
 +
{{Math}}

Latest revision as of 14:30, 13 July 2023