Converts a decimal number to a hexadecimal string.
The number to convert.
Number of hexadecimal digits in the returned value, the result will be padded with zeroes.
True if a 0x prefix should be added.
The hexadecimal formatted value.
Converts a decimal number to a hexadecimal string.