Made NumberUtils.toHex work for negative numbers too.