nunjucks

Convert integer to string Jinja

Convert integer to string Jinja Question: I have an integer {% set curYear = 2013 %} In {% if %} statement I have to compare it with some string. I can’t set curYear to string at the beginning because I have to decrement it in loop. How can I convert it? Asked By: Glen Swift …

Total answers: 4