So I'm on this parallax tutorial:
https://learn.parallax.com/tutorials/language/propeller-c/propeller-c-simple-circuits/seven-segment-display
Is there a better code line to display the voltage value for the 7-segment display instead of this primitive stuff below?
![m4zdbOd.png]()
I only have one segment display so there is no worry about the 10th decimal then.
https://learn.parallax.com/tutorials/language/propeller-c/propeller-c-simple-circuits/seven-segment-display
Is there a better code line to display the voltage value for the 7-segment display instead of this primitive stuff below?

I only have one segment display so there is no worry about the 10th decimal then.