to_integer

Convert the input to an integer value.

Example:

{{ "123"|to_integer }}

Results in the integer value 123.

This filter uses the z_convert:to_integer/1 function.