
I don't know if this is a known occurence, but somehow, when a bar value has decimals, substracting 1 from it with tokenmod tends to substract 0.9000000000000008 (or even 1.11111) or something of that order. Case in point, this example in my image below( on the image, I copy-pasted bar1's value into the name field, cause it doesn't fit entirely into the bar1 field ): From 2.2, when substracting 1 via the macro, the bar becomes 1.2000000000000002. The macro I use is simply: !token-mod --set bar1_value|-1 (although the name of the macro is '⛉--1', beginning with a miscelaneaous unicode character, I don't know if that might cause issues, and the phenomenon happens regardless of wich bar is targetted) So that's odd. I'm running Cyberpunk Red, for those who are curious. And I use the decimals to indicate spare ammo and # of dmg dice, I also use the green and blue bar max values as macro storage for attack and initiative (i then just call for bax_max in chat with a macro button) , in order to keep all info on the token itself, thus not needing a linked charsheet.