1๐
I think your best choice is to create your own filter, or to reduce processing in your templates, calculate the remainder in the view and pass it to the template as a specific field?
Theres a good question here with some methods for the actual extraction of the digits within your filter (if you choose that method).
๐คsrowland
Source:stackexchange.com