I have a command that takes a single parameter. I want to add a constant number to that parameter and include it in the output. Something like (pseudo-code):
\newcommand*{\label}[1]{%
Here is the sum: {#1 + 20}
}
% elsewhere...
\label{22) % should output "Here is the sum: 42"
What's the simplest way of achieving this? Having googled a bit, I see talk of calc, fp, and other packages. Is there nothing that is simple and built-in to achieve this?

\numexprapproach was fine for my needs. – me-- Mar 18 '21 at 07:01