Is there anyway to make a progress bar decrease incrementally? For example every 10%?
By the way, I mean when using the built-in Facer progress bar.
TIA
Is there anyway to make a progress bar decrease incrementally? For example every 10%?
By the way, I mean when using the built-in Facer progress bar.
TIA
Should work. Here the fill ratio for a progress bar and the battery level:
(floor(#BLN#/10)/10)
@tom.vannes
That is interesting so I couldn’t leave well enough alone. I had to do it in 5% steps and this is what I did to your expression to make that happen. (floor(#BLN#/5)/20)
It seems to work just fine.
Excuse me sticking my Oar in .
(ceil(#BLN#/5)/20)
Always worth looking at round
to show the average .
Thanks, I’ll play around with all of this.
I just tried (ceil(#BLN#/5)/20)
instead of (floor(#BLN#/5)/20)
I think I like how that works better. I’ve tried all three, round, ceil and floor. It seems to me that stepping down from 100 percent battery one percent at a time, floor drops as soon as the level is less than 100%. Round drops part way between 100 and 95. And lastly ceil drops from 100% to 95% at the 95% mark. Which is really the first time I have understood what ceil does. The word changes the breaking point from high, mid or low.
"I Think"!
Yes, ceil is probably better for something like battery going downwards. For a step count, floor is probably better.
Spot on