It sounds like you are assuming that the only way to show the decimal value is by using opaque backgrounds to cover up unwanted portions of the value. A better way to do this is to put the value inside a window, and size the window to clip the unwanted portion of the value. You can see how
I did it in my XP bar, or in many other people's XP bar mods (like
Humudce's).