Hi,
try by writing the below function and pass the text read from the file.
Private Function fnGetNumber(text As String) As Double
Try
Return (Convert.ToDouble(text.Trim())) / 100
Catch ex As Exception
Return 0.0
End Try
End Function
this function will the double value and if the text is in correct, this will return 0.0 and also, this will give number with 2 decimal places.
hope it helps.