minus Filter

Subtracts a number by another number.

Parameters

Parameter Required Description
difference Yes number Number to subtract by.

Category

Math Filters

Description

Subtracts a number from another and returns the difference.

{{ 5 | minus: 4 }}

Output

1