Double.Parse
From Xojo Documentation
Shared Method
Double.Parse(theText As Text, Optional locale As Xojo.Core.Locale) As Double
Supported for all project types and targets.
Supported for all project types and targets.
Converts theText to a Double value.
Shared Method
Double.Parse(value As String, Optional locale As Locale) As Double
New in 2019r2
Supported for all project types and targets.
New in 2019r2
Supported for all project types and targets.
Converts a String to a Double value.
Notes
If no locale is specified, then Locale.Raw is used.
Numbers are converted only if they are found at the beginning of the text. Any numbers that follow a non-numeric value are ignored. Empty text returns 0.