floor
Filter = floor
Rounds the input down to the nearest whole number. Liquid tries to convert the input to a number before the filter is applied.
INPUT | OUTPUT |
---|---|
| 1 |
INPUT | OUTPUT |
---|---|
| 2 |
INPUT | OUTPUT |
---|---|
| 183 |
Here the input value is a string:
INPUT | OUTPUT |
---|---|
| 3 |
Rounds the input down to the nearest whole number. Liquid tries to convert the input to a number before the filter is applied.
INPUT | OUTPUT |
---|---|
| 1 |
INPUT | OUTPUT |
---|---|
| 2 |
INPUT | OUTPUT |
---|---|
| 183 |
Here the input value is a string:
INPUT | OUTPUT |
---|---|
| 3 |