弄了半天 哎 依旧没成果,留此做草稿 16进制 过几天再来消灭你
Private Sub Command1_Click()
Me.Font.Size = 25Print shiliujinzhi(230)
End Sub
Private Function shiliujinzhi(m As Long) As String
Dim n As Byte
n = m
Const shiliu As Long = 16
Dim shang As Long
Dim yushu(1 To 200) As Long
Dim i As Long
Dim returns As String
i = UBound(yushu)
shang = n \ shiliu
yushu(i) = n Mod shiliu
returns = yushu(i)
While shang <> 0
i = i - 1
n = shang
shang = n \ shiliu
yushu(i) = n Mod shiliu
returns = yushu(i) & returns
Wend
Print returns
End Function