Assemble handlebars nested math helpers
Asked Answered
M

1

6

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.

Magneton answered 27/3, 2014 at 22:51 Comment(0)
F
5

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

Fallacy answered 28/3, 2014 at 15:54 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.