Abs function

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 18:17, 2 July 2010 by Eliot (talk | contribs) (Created page with '<noinclude>Abs is math function provided by the {{classgames|Object}} class.</noinclude> {{code|native(186) static final function float '''Abs''' (float '''A'''…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Abs is math function provided by the Object

()

class.

native(186) static final function float Abs (float A)

Returns the absolute value of A. That means, if A is greater than or equal to zero, it is returned unchanged. Otherwise, if A is less than zero, -A is returned.