Difference between revisions of "Math.abs"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === Returns the absolute value of v. <source lang="lua"> (number), = math.abs(v,) </source> '''v:''' (numb...")
 
Line 4: Line 4:
 
Returns the absolute value of v.
 
Returns the absolute value of v.
 
<source lang="lua">
 
<source lang="lua">
(number), = math.abs(v,)
+
(number) = math.abs(v)
 
</source>
 
</source>
'''v:''' (number) number to use for absolute value ''''''<br/>
+
'''v''': (number) number to use for absolute value ''''''<br/>
 
'''Returns''' (number) absolute value of v<br/>
 
'''Returns''' (number) absolute value of v<br/>

Revision as of 10:20, 23 August 2018

Available since: Gideros 2011.6

Description

Returns the absolute value of v.

(number) = math.abs(v)

'v: (number) number to use for absolute value '
Returns (number) absolute value of v