def clean_hex(d):
    """
    Convert decimal to hex and remove the "L" suffix that is appended to large
    numbers
    """
    try:
        return hex(d).rstrip('L')
    except:
        return None
