Hi everyone, I'm new in vb.Net programming and i just want to ask how to validate a "Double" data type.
Dim number as Double number = textbox1.text
If the value of "number" variable is in "Double" data type like 1.23 or 0.12
it returns a correct value and If the value of of a "number" is like ... or ..
it returns an error
Conversion from string "." to type 'Double' is not valid.
I tried to suppres the error using the try catch but it still return the same error