pongo2
pongo2 copied to clipboard
Comparing int and float fails without explicit cast
I think an int and float comparison should auto cast the int as a float. Workaround is to cast it with the pongo filters.
{{ 1 == 1.0 }} // false
{{ 1 == 1.0|integer }} // true
{{ 1|float == 1.0 }} // true