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.

Previous topic

to_binary

Next topic

to_json

Versions

Actions