hex string to decimai number