Difference between revisions of "Math.abs"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(3 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 ===
Line 13: Line 14:
 
=== Return values ===
 
=== Return values ===
 
'''Returns''' (number) absolute value of v
 
'''Returns''' (number) absolute value of v
 +
 +
=== See also ===
 +
'''[[Larger and Smaller Operators]]'''
  
 
{{Math}}
 
{{Math}}

Latest revision as of 14:31, 13 July 2023