number_format
The number_format filter formats a number to have a certain number of decimal points, a specific decimal point character, and thousands separator.
{{ 3024.2|number_format(2) }}
The number_format filter formats a number to have a certain number of decimal points, a specific decimal point character, and thousands separator.
{{ 3024.2|number_format(2) }}