M Mickego Member Licensed User Longtime User Apr 16, 2011 #1 I have problems when reading Lat+Long from textfile, can not get them into Datatype FLOAT, to be used in GPS application. rgds Mickego
I have problems when reading Lat+Long from textfile, can not get them into Datatype FLOAT, to be used in GPS application. rgds Mickego
Erel B4X founder Staff member Licensed User Longtime User Apr 16, 2011 #2 Type conversion is done automatically as needed. B4X: Dim f As Float f = "1.2" 'f = 1.2 Upvote 0
M Mickego Member Licensed User Longtime User Apr 16, 2011 #3 THX i tried it a lot of times finally found my problem, it was a wrongly parsed string from ini-file, a ~ was not filtered away Upvote 0
THX i tried it a lot of times finally found my problem, it was a wrongly parsed string from ini-file, a ~ was not filtered away
Erel B4X founder Staff member Licensed User Longtime User Apr 16, 2011 #4 I highly recommend you to use File.ReadMap / File.WriteMap to save the configuration. It is very simple and reliable. Upvote 0
I highly recommend you to use File.ReadMap / File.WriteMap to save the configuration. It is very simple and reliable.