以下是引用海狸先生在2005-12-24 15:09:00的发言:
Public Function GetBit(BitNo As Integer, value As Currency) As String
If BitNo <= -Fix(-Log(value) / Log(10#)) Then
GetBit = Int(CCur(value / 10 ^ BitNo)) Mod 10
Else
If BitNo = -Fix(-Log(value) / Log(10#)) + 1 Then
GetBit = "¥"
End If
End If
End Function