Decimal
Magento\CatalogSearch\Model\Layer\Filter\Decimal
What it does
This class handles decimal/numeric range filtering in Magento 2 catalog search layered navigation.
Developers use this when implementing filterable product attributes with decimal values (like dimensions, weight, or custom numeric attributes) where customers can filter products by numeric ranges.
It processes filter requests, applies them to product collections, and generates filter items with formatted range labels.
Public Methods
- apply()