You can use stringformat to convert a variable to a string:
{{ value|stringformat:"i" }}
See documentation for formatting options (the leading % should not be included).
You can use stringformat to convert a variable to a string:
{{ value|stringformat:"i" }}
See documentation for formatting options (the leading % should not be included).