in reply to Integer to Hex?
sprintf, specifically:
$hex = sprintf "%x", $integer.
bbfu Seasons don't fear The Reaper. Nor do the wind, the sun, and the rain. We can be like they are.