ClassMicrosoft.VisualBasic.Conversion SyntaxDim result As Double = Val(expression) or Dim result As Integer = Val(charExpression)
DescriptionThe Val function converts a string or object representation of a number to the Double data type. A second variation converts a Char data type to its Integer equivalent. Usage at a Glance
See AlsoCDbl Function |