Open ashtonian opened 2 years ago
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
I think an int and float comparison should auto cast the int as a float. Workaround is to cast it with the pongo filters.