Garmin Interview Question

Convert a given decimal number to hex.