@r.liechty_SDR
Thanks Ron, modulo operator is one of those that my brain still doesn’t get it. Even though I understand what it does, but I still don’t fully understand why it works haha.
@Peter
You’re a wizard! Peter. Honestly I don’t know why it works, but it works fantastically! If you have free time, I would appreciate it if you can explain it in plain English.
Place Value | Plain English | Tag Expression |
---|---|---|
Units/Ones | Show image if Ones is 6 | ([sc]%10==6)*100 |
Tens | Show image if Tens is 2 | (([sc]%100-[sc]%10)/10==2)*100 |
Hundreds | Show image if Hundreds is 7 | (([sc]%1000-[sc]%100)/100==7)*100 |
Thousands | Show image if Thousands is 8 | (([sc]%10000-[sc]%1000)/1000==8)*100 |
Ten Thousands | Show image if Ten Thousands is 5 | (([sc]%100000-[sc]%10000)/10000==5)*100 |
This can be a workaround for text on curved/circular path, potentially. Downside is you would need to use 10 bitmap font images and their tag expression for each place value. For step counts that goes to ten thousands, it would use 50 of them. I wonder if that will cause lag or battery drain.