Difference between revisions of "Math.pow"

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

Latest revision as of 14:30, 13 July 2023