Conversion Summary (Visual Basic)
Visual Basic language keywords and run-time library members are organized by purpose and use.
Action | Language element |
---|---|
Convert ANSI value to string. | Chr, ChrW |
Convert string to lowercase or uppercase. | Format, LCase,UCase |
Convert date to serial number. | DateSerial, DateValue |
Convert decimal number to other bases. | Hex, Oct |
Convert number to string. | Format, Str |
Convert one data type to another. | CBool, CByte, CDate, CDbl, CDec, CInt, CLng, CSng, CShort, CStr, CType, Fix, Int |
Convert date to day, month, weekday, or year. | Day, Month, Weekday, Year |
Convert time to hour, minute, or second. | Hour, Minute, Second |
Convert string to ASCII value. | Asc, AscW |
Convert string to number. | Val |
Convert time to serial number. | TimeSerial, TimeValue |
See also
Cộng tác với chúng tôi trên GitHub
Bạn có thể tìm thấy nguồn cho nội dung này trên GitHub, nơi bạn cũng có thể tạo và xem lại các vấn đề và yêu cầu kéo. Để biết thêm thông tin, hãy xem hướng dẫn dành cho người đóng góp của chúng tôi.
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho