Page 1 of 1

string to floating ?

Posted: Sun Jul 17, 2022 4:56 pm
by JosefDuisberg
Hello,
I use different 18b20 - the routine delivers strings as output, for the display this is completely OK, but how do I get floating values ​​(a comparison of the string values ​​is not successful)
Does somebody has any idea?

Re: string to floating ?

Posted: Sun Jul 17, 2022 5:00 pm
by cicciocb
v = val(string$)
[Local Link Removed for Guests]

Re: string to floating ?

Posted: Mon Jul 18, 2022 5:57 pm
by JosefDuisberg
ooh shit, sometimes it is good to read the manual to the end :twisted: - thank you very much