It depends on your goal. If it is conversion from hex to double, you can use following C# methods: How to: Convert Between Hexadecimal Strings and Numeric Types (C# Programming Guide)
2
在其他系统上可能需要使用不同的十六进制代码(此序列不经历代码页转换)。
On other systems, a different hexadecimal code might need to be used (this sequence does not undergo code page conversion).
3
在 sprintf 命令中使用 %X 修改符执行十进制间隔与十六进制衰减百分比之间的相应转换。
The appropriate conversion between decimal intervals and hexadecimal fade percentage is performed using the %X modifier in the sprintf command.