Cogito, ergo sum

ToHex function

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 18:15, 2 July 2010 by Eliot (Talk | contribs) (Created page with '<noinclude>ToHex is math function provided by the {{classgames|Object}} class in {{UE3}}.</noinclude> {{code|native static final function string '''ToHex''' (int&nbs…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

ToHex is math function provided by the Object(RTNP, U1, UT, U2, U2XMP, UE2Runtime, UT2003, UT2004, UDK, UT3) class in Unreal Engine 3.

native static final function string ToHex (int A)

Converts the int value to its corresponding hexadecimal string representation. Values are treated as unsigned 32 bit integer values for conversion, so e.g. ToHex(-2) results in the string FFFFFFE.