Top  | Previous | Next

Strings / toHex

toHex(int)

Returns a hex formatted string representing the unsigned integer argument. If the argument is negative, the hex string represents the value plus 232.

 

toHex(255)

...returns "FF"

 

toHex(-255)

...returns "FFFFFF01"