赞
踩
import struct
encoded_value = 0x41c556be9163126f
# 将 fixed64 转换为 double (浮点数)
decoded_double = struct.unpack('!d', struct.pack('!Q', encoded_value))[0]
print("Decoded as double:", decoded_double)
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。