| 发表于:2007-03-30 08:18:172楼 得分:0 |
当然, 可以自己写个函数, 例如: option explicit function hexex(byval ivalue as long, byval ibit as integer) as string hexex = right(string(ibit, "0 ") & hex(ivalue), ibit) end function private sub form_load() debug.print hexex(9, 2) debug.print hexex(100, 4) end end sub | | |
|