Skip to content Skip to footer navigation
You are reading the Statamic 6 Alpha docs. πŸ‘€

Floor Modifier

Rounds a number down to the next whole number.

number: 25.98
{{ number | floor }}
{{ Statamic::modify($number)->floor() }}
25