now I have googled this but not found the solution i am looking for.
I have a float value that I wish to display on an TM1638 screen using the TM1638plus.h Library
I would like to display only 2 decimal places on the screen
The code below is one example that is provided but I one dont understand it very well and its not great when the value of float goes above 100.
Can anyone help perhaps show me an simplier way display a float to two decimal places onto a TM1638 Screen?
I correctly understood that the method works, but you don't like something about it? What exactly?
Multiplying a number by 100 and then integer division into digits is the standard way for such displays.
Thanks. I did think that mutily by 100 to get the value is what i was thinking in my head.
if this is the best way to do it I will stick with it.
Can you perhaps direct me to a resource that helps me understand the %10 remainder terminology better?
as this is my hurdle.