Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
Read in English
Read in English Edit
Twitter LinkedIn Facebook Email

Conversion functions (Visual Basic)

  • Article
  • 09/15/2021
  • 2 minutes to read

In this article

  • Asc
  • AscW
  • CBool Function
  • CByte Function
  • CChar Function
  • CDate Function
  • CDbl Function
  • CDec Function
  • Chr
  • ChrW
  • CInt Function
  • CLng Function
  • CObj Function
  • CSByte Function
  • CShort Function
  • CSng Function
  • CStr Function
  • CType Function
  • CUInt Function
  • CULng Function
  • CUShort Function
  • Format
  • Hex
  • Oct
  • Str
  • Val

See also

  • Type Conversion Functions
  • Converting Data Types

Feedback

Submit and view feedback for

This product This page
View all page feedback

Additional resources

  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2023

Additional resources

In this article

  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2023