Difference between revisions of "Math.abs"

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

Latest revision as of 14:31, 13 July 2023