I have just discovered accidentally how to perform simple arithmetic operations in TeX:
\number\numexpr 5+5\relax
And this will print the result, not the operands.
I have just discovered accidentally how to perform simple arithmetic operations in TeX:
\number\numexpr 5+5\relax
And this will print the result, not the operands.