The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
ToHex function
From Unreal Wiki, The Unreal Engine Documentation Site
ToHex is math function provided by the Object(RTNP, U1, UT, U2, U2XMP, UE2Runtime, UT2003, UT2004, UDK, UT3) class in Unreal Engine 3.
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
.