filter_round (zotonic_mod_base v1.0.0-rc.17)

Round a floating point value to the nearest integer.

Example:

{{ 3.5|round }}

Results in the integer value 4.

Summary

Functions

round/2