Double.Parse
From Xojo Documentation
Shared Method
Converts theText to a Double value.
Shared Method
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.