Abs: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Sangman (talk | contribs)
Created page with "'''abs''' ''<value>'' Calculates the absolute value of <value> and stores it back into <value>. Category:Gamevar manipulation"
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
'''abs''' ''<value>''
<span {{code}}>'''abs''' &lt;var&gt; </span>


Calculates the absolute value of <value> and stores it back into <value>.
<span {{code}}>'''klabs''' &lt;var&gt; </span>


Calculates the absolute value of &lt;var&gt; and stores it back into &lt;var&gt;.
[[Category:EDuke32 specific commands]]
[[Category:Gamevar manipulation]]
[[Category:Gamevar manipulation]]

Latest revision as of 06:04, 12 January 2021

abs <var>

klabs <var>

Calculates the absolute value of <var> and stores it back into <var>.