如何在VB6中将十六进制值转换为十进制值?
我正试图看看它是否有效:
Dim hexVal as string
hexVal = "#7B19AB"
clng("&H" & hexVal)
Run Code Online (Sandbox Code Playgroud)
但是,我收到" Type MisMatch "错误.
Joh*_*nFx 14
摆脱#符号
Dim hexVal as string
hexVal = "7B19AB"
clng("&H" & hexVal)
Run Code Online (Sandbox Code Playgroud)