Difference between revisions of "Abs"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m |
m (Suppressing blank lines) |
||
Line 1: | Line 1: | ||
{{dafunction | {{dafunction | ||
− | |name=abs | + | |version = |
− | |brief=Returns the absolute value of an integer. | + | |name = abs |
− | |param1type=int | + | |brief = Returns the absolute value of an integer. |
− | |param1name=nValue | + | |param1type = int |
− | |param1desc=The integer to get the absolute value of | + | |param1name = nValue |
− | |returntype=int | + | |param1desc = The integer to get the absolute value of |
− | |returndesc=Returns the absolute value of nValue. There is no error return. | + | |returntype = int |
− | |sourcefile=script.ldf | + | |returndesc = Returns the absolute value of nValue. There is no error return. |
− | |sourcemodule= | + | |sourcefile = script.ldf |
+ | |sourcemodule = | ||
}} | }} | ||
− | |||
== Description == | == Description == | ||
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. --> | <!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. --> | ||
Returns the absolute value of integer nValue. | Returns the absolute value of integer nValue. | ||
− | |||
<!-- == Remarks == --> | <!-- == Remarks == --> | ||
<!-- This section contains additional comments, observations and known issues. --> | <!-- This section contains additional comments, observations and known issues. --> | ||
− | |||
<!-- == Examples == --> | <!-- == Examples == --> | ||
<!-- This section contains examples transcluded from the snippet library. --> | <!-- This section contains examples transcluded from the snippet library. --> | ||
− | |||
== See also == | == See also == | ||
<!-- This section contains links to articles, functions or constant groups. --> | <!-- This section contains links to articles, functions or constant groups. --> | ||
[[fabs]] | [[fabs]] | ||
− | [[Category: Math functions]] | + | [[Category:Math functions]] |
Latest revision as of 12:53, 26 March 2012
Returns the absolute value of an integer.
- Parameters:
- nValue
- The integer to get the absolute value of
- Returns:
- Returns the absolute value of nValue. There is no error return.
- Source:
- script.ldf
Description
Returns the absolute value of integer nValue.