Help with Formula: Every 12 Pairs of Shoes Form 1 Package

Hi there,

I’m working on the invoice module for a shoe factory. When I create an order, I need to determine the number of packages that need to be created. An order can have multiple pairs of shoes, and every 12 pairs should form a full package for shipping. How can I calculate that?

Hi

Number/12 : floored packages

then you might have left a few shoes

If you want to know how much you’ll need to do a modulo.