CXXX

  利用Cxxx,可以任何的型態轉成指定的型態:

A = CInt(X)
B = CLng(X)
C = CBool(X)
D = CByte(X)
E = CDate(X)
F = CDbl(X)
G = CCur(X)
H = CSng(X)
I = CStr(X)

結果:
A是Integer
B是Long
C是Boolean
D是Byte
E是Date
F是Double
G是Currency
H是Single
I是String


上一頁