I am trying to print the temperature of a DS18B20 into an LCD screen! However, the thermometer gives a float value of 2 decimal figures e.g. 28.50. At this point I have reduced the presition of DS18B20 so the accurase is 0.5. In result, I don’t need the last digit which is always a 0 but I cannot get read of it! Any ideas?
I’ve even tried to use some function that I made as seen in the attachments, but I got no luck! Any ideas?
I know that I can simply erase the last digit from my screen but I don’t want that kind of a solution!