helpers / handlebars-helpers

188 handlebars helpers in ~20 categories. Can be used with Assemble, Ghost, YUI, express.js etc.
http://assemble.io/helpers/
MIT License
2.22k stars 364 forks source link

Minus / divide not working #332

Closed aminta closed 6 years ago

aminta commented 6 years ago

Hi!

I have a parameter called "items" equals to 100 passed to a partial and I get this strange behavior:

        {{typeOf items}} // number

        {{add 100 items}} // 200
        {{minus 100 items}} // TypeError: expected the second argument to be a number
        {{divide 100 items}} // TypeError: expected the second argument to be a number

Why?