hi everyone !
i am trying convert this string to Double : "-50.601713��MyDoubleVal"
i am using this code to do it :
but when i run this code i get this error : java.lang.NumberFormatException: Invalid double: "-50.601713��MyDoubleVal"
have a way to remove all string "��MyDoubleVal" from double ?
someone can help me ?
i am trying convert this string to Double : "-50.601713��MyDoubleVal"
i am using this code to do it :
B4X:
Dim TempVal As Double = StringInformation(2) ' here have double with string value
Log("My Double value is = "&TempVal)
but when i run this code i get this error : java.lang.NumberFormatException: Invalid double: "-50.601713��MyDoubleVal"
have a way to remove all string "��MyDoubleVal" from double ?
someone can help me ?