This extension provide a way to generate long and confusing /scoreboard players operation in a much shorter way.
Expression Generator [extension.mc-math.insert]
Generate /scoreboard players operation command from math expression such as 1+2*3.
Do note that currently this extension always read expression from left to right not the usual PEMDAS convention.
You can also use minecraft selector in the expression, E.g. @e[tag=foo] * 12
1.1) Additionals operator
1.1.1) '^' : Exponential, generate multiple /scoreboard lines to simulate exponential operator.
Example: @s^2, @r[tag=foo]^5
Restriction: exponent must be pure integer not selector.
Expression Evaluator [extension.mc-math.eval]
Evaluate math expression on the fly.
Or you can also evaluate expression from the editor itself!
You can change these config from Settings page. mc-math.default_scoreboard_1: first scoreboard objective when no scoreboard is provided. mc-math.default_scoreboard_2: second scoreboard objective when no scoreboard is provided. mc-math.exponent_limit: limit how big can exponent of ^ operator be.