How to Use One Helper Inside Another

Linear helpers can be nested in each other and in block helpers. To use one helper inside another, you need to write it in parentheses (helper) instead of curly brackets {{helper}}.
For example, you can use it in mathematical calculations, when you need to transfer one calculation to another. For example, you can write expression 10 + 5 − 15 like this:
{{add 10 (subtract 5 15)}}
You obtain zero.
You can embed as deeply as you need:
{{add 10 (subtract 5 (multiply (divide 10 2) 3))}}
And here, you obtain zero again. Mathematically, it can be written as follows: 10 + (5 − ((102) × 3))
In block helpers, for example, we can embed the calculation of client's balance in helper #gte:
{{#gte (subtract balance cost) 0}}
Отлично, у вас достаточно денег для покупки этого курса
{{else}}
Кажется, на вашем счете не достаточно средств
{{/gte}}