Utils.intToHex

Overview | Methods | This Package | All Packages

Utils.intToHex

Creates a string that contains the hexadecimal representation of the integer with the specified number of hexadecimal digits.

Syntax

public static String intToHex( int value, int digits )

Parameters

value

The integer to create the hexadecimal string for.

digits

The number of hexadecimal digits to put into the string.

Return Value

Returns the hexadecimal representation of the specified value.