Difference between revisions of "Math.pow"

From GiderosMobile
(added see also)
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(2 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
=== 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
+
'''v2''': (number) power in which to exponentiate<br/>
  
 
=== Return values ===
 
=== Return values ===

Latest revision as of 14:30, 13 July 2023