Method String.int2hex() Method int2hex string int2hex(int x) Description Same as sprintf("%x",x);, i.e. returns the integer x in hexadecimal base using lower cased symbols. See also sprintf()