string to floating ?

Here we can discuss about the problem found
Post Reply
JosefDuisberg
Posts: 11
Joined: Sun Nov 14, 2021 8:14 am

string to floating ?

Post 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?
User avatar
cicciocb
Site Admin
Posts: 1900
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 407 times
Been thanked: 1271 times
Contact:

Re: string to floating ?

Post by cicciocb »

v = val(string$)
[Local Link Removed for Guests]
JosefDuisberg
Posts: 11
Joined: Sun Nov 14, 2021 8:14 am

Re: string to floating ?

Post by JosefDuisberg »

ooh shit, sometimes it is good to read the manual to the end :twisted: - thank you very much
Post Reply