本文介绍了从十六进制到十进制。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
VisualBasic.Hex从十进制转换为十六进制字符串, 但有没有办法将十六进制字符串转换为十进制?
VisualBasic.Hex converts from a decimal to a Hex string, but is there a way to convert a Hex string to a decimal?
推荐答案嗨拉里, 她的单程: MsgBox(Val(&&) hFACE))'' - 1300 问候, Fergus Hi Larry, Her''s one way: MsgBox (Val("&hFACE")) ''-1300 Regards, Fergus
Hi Lance, 我们也可以使用CLng功能。 MsgBox(CLng(& Hff")) > 请参阅以下URL以获取有关 此问题的详细信息 Visual Basic语言参考 - 类型转换函数 http:// msdn.microsoft/library/de...us/vblr7/html/ vagrptypeconversion.asp HOWTO:使用CLng( )在VBScript support.microsoft / default ... b; en-us; 279115 祝你好运, Jacob Yang Microsoft在线合作伙伴支持 < MCSD> 安全! - www.microsoft/security 发布是按原样提供的。没有保证,也没有授予任何权利。 Hi Lance, We can also use the CLng function. MsgBox(CLng("&Hff")) Please refer to the following URLs for the detailed information regarding this issue Visual Basic Language Reference - Type Conversion Functions msdn.microsoft/library/de...us/vblr7/html/ vagrptypeconversion.asp HOWTO: Use CLng() to Convert Hexadecimal Number back to Decimal in VBScript support.microsoft/default...b;en-us;279115 Best regards, Jacob Yang Microsoft Online Partner Support <MCSD> Get Secure! ¨C www.microsoft/security This posting is provided "as is" with no warranties and confers no rights.
你好Jacob, 我很好奇。 /> 什么是Microsoft在线合作伙伴支持? 什么是MSFT? 为什么你有这个帖子? 按原样没有保证 并且不授予任何权利? 问候, Fergus Hi Jacob, I''m curious. What is Microsoft Online Partner Support ? What''s MSFT? And why do you have "This posting is provided "as is" with no warranties and confers no rights"? Regards, Fergus
更多推荐
从十六进制到十进制。
发布评论