VFP有没有10进制转16进制的函数?
如题,虽然我自己写了这个函数,但我想问问系统里有没有?
Set Library To myFll ?"二进制:"+NumConver(1234567,2) ?"八进制:"+NumConver(1234567,8) ?"十六进制:"+NumConver(1234567,16) ?"三十进制:"+NumConver(1234567,30) Set Library To
Set Library To myFll ?ConverNum("123AE",10)&&AE不属于10进制的字符,返回123 ?ConverNum("123AE",16)&&AE是16进制的字符,返回74670,即0x123ae Set Library To
[此贴子已经被作者于2023-1-24 10:46编辑过]