filter_format_number (zotonic_mod_base v1.0.0-rc.17)

Show an integer or float.

Formats integer and float values as a list, assuming a radix of ten.

For example:

{{ value|format_number }}

When the value is the float 12.0 then the output is the list 12.0.

See also

format_integer, format_price, format_duration

Summary

Functions

format_number/2