Dim dbl As Double If Double.TryParse(textbox4.Text, dbl) Then 'use the variable dbl since it has converted Else 'it has not - invalid string format for double End If
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)