Calculate within a Tamplate

We are using Grafana for visualizing opennms data’s like temperature.
The Inlet temperature is accessible e with a number like 1 for Card one 11 for Card 2 and so on
The outlet temperature is like 2 12 and so on.
Is there a possibility to calculate within a variable

Not this is currently not possible

Thank you for the fast respons