Question

I was wondering whether there is a way to combine two [Assemble Math helpers]1 in one operation.

For example:

  • I want to do {{multiply 12 a}} and then
  • do {{round}} on the resultant

Thanks for any help.

Était-ce utile?

La solution

Using the new subexpressions in Handlebars you can do {{round (multiply 12 a)}}

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top