[VB6]強制轉換變數類型 Type conversion functions
Syntax
- CBool(expression)
- CByte(expression)
- CCur(expression)
- CDate(expression)
- CDbl(expression)
- CDec(expression)
- CInt(expression)
- CLng(expression)
- CLngLng(expression) (Valid on 64-bit platforms only.)
- CLngPtr(expression)
- CSng(expression)
- CStr(expression)
- CVar(expression)
Resource
https://docs.microsoft.com/zh-tw/office/vba/language/concepts/getting-started/type-conversion-functions
留言
張貼留言