delimiter

Formats a number with a given delimeter.

Parameters

{{ number | delimiter: delimiter=',' }}

Parameter Description Example Values
number (required) The number that you wish to format 123456.789
delimiter (required) Specises the delimiter that you wish to use. ’,’

Examples

{{ 123456 | delimiter }}

This will produce 123,456

{{ 123456 | delimiter: '-' }}

This will produce 123-456