Trivial problem - I’m using 8x using 7 segment displays connected to ESP8266 to project current data about my solar system. I was following this tutorial, which clearly explains that float values will have a dot based on the precision selected (in my case .1f or even .2f). I am happy with response time and the way how things work. Except for one small thing - I am unable to force displays to show the decimal point when projecting these float numbers.
I am capturing float values form esphome (e.g. 27.70000)
Here’s my problem:
returns _ 277
What am I doing wrong here?