How to calculate player health percentage?
Solution 1:
It's a but unfortunate, but Minecraft actually sees "100" as a valid username. Where you wrote it, you need a name, which can also be a dummy player. You need to assign that dummy player or entity the value 100 in some scoreboard and then you can use that for operations.