I have a variable (ApplicationVersionInformationArray(0)) that holds the following value: "1.0.0.1"
What is the best way to determine if this value is larger than 1.0
Here is my current code (ApplicationVersionInformationNumber is of type Double):
What is the best way to determine if this value is larger than 1.0
Here is my current code (ApplicationVersionInformationNumber is of type Double):
Code:
If Double.TryParse(ApplicationVersionInformationArray(0), ApplicationVersionInformationNumber) = False Then
Return False
Else
If ApplicationVersionInformationNumber < 1 Then Return False
End If