How to make totals of results?ma

I want to make the total of f.i. R54 + R61 + R63.
How can i do that?

| {% t “Totaal” %} |{{$1|currency}}{% result ‘R59’ $1 %}|{{$2|currency}}{% result ‘R62’ $2 %}|{{$3|currency}}{% result ‘R64’ $3 %}|{{$4|currency}}{% result ‘R55’ $4 %}|{{$5|currency}}{% result ‘R56’ $5 %}|{{$6|currency}}{% result ‘R57’ $6 %}|{{$7|currency}}{% result ‘R54’ $7 %}|{{$8|currency}}{% result ‘R61’ $8 %}|{{$9|currency}}{% result ‘R63’ $9 %}|

TOTAAL afgetrokken BTW:
TOTAAL betaalde BTW: {{$7|currency}}{% result ‘R54’ $7 %}+{{$8|currency}}{% result ‘R61’ $8 %}+{{$9|currency}}{% result ‘R63’ $9 %}

To make the total of R54 + R61 + R63 you can use this code:

{{ $7+$8+$9 | currency }}

To calculate the sum of the registers you created ($7, $8 and $9) the + sign needs to be inside the brackets.

If you then want to create a result tag for this total to use it in another template you can add this code:

{% result 'totaal' $7+$8+9 %}

Hope this was what you were looking for!

For future reference, you can find a guide here on how to paste your code correctly in a community post.