Difference between revisions of "Math.abs"

From GiderosMobile
(added see also)
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Class:''' [[math]]<br/>
 
'''Class:''' [[math]]<br/>
Line 4: Line 5:
 
=== Description ===
 
=== Description ===
 
Returns the absolute value of v.
 
Returns the absolute value of v.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = math.abs(v)
 
(number) = math.abs(v)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 15:31, 13 July 2023