Conversion Module (Visual Basic)
The Conversion module contains the procedures used to perform various conversion operations.
Remarks
This module supports the Visual Basic language keywords and run-time library members that convert decimal numbers to other bases, numbers to strings, strings to numbers, and one data type to another.
Members
|
Example
This example uses the Hex function to return the hexadecimal value of a number.
Dim TestHex As String
' Returns 5.
TestHex = Hex(5)
' Returns A.
TestHex = Hex(10)
' Returns 1CB.
TestHex = Hex(459)
See Also
Reference
Visual Basic Language Keywords