Fabs
From NWN Lexicon
Contents |
[edit] fabs(float)
Gets the absolute value of a number.
[edit] Parameters
fValue
Float to retrieve the absolute value of.
[edit] Description
Returns the absolute (non-negative; numeric distance from the number 0) value of fValue.
[edit] Remarks
Useful when subtracting two numbers, without first having to find find out which is higher, when all you're interested in is the difference between the two.
[edit] Version
1.61
[edit] Example
[edit] See Also
functions: |
author: Charles Feduke, editor: Lilac Soul