1. A method for packing a given quantity of products, wherein a plurality of different packages for packing the products and a plurality of packaging specifications are provided, the method comprising: determining at least one packaging specification out of the plurality of packaging specifications; extracting rounding parameters from the at least one determined packaging specification; determining tolerance values from the packaging specification; rounding, by a computer system according to the extracted rounding parameters, the given quantity of products to a rounded quantity of products when the tolerance values are invalid, wherein the rounded quantity of products is a multiple of packages of a smallest package size; determining tolerance intervals given by the tolerance values if the tolerance values are valid: checking as to whether the given quantity is within one of the tolerance intervals: rounding, by the computer system, the given quantity of products to a predetermined package size when the given quantity is within one of the tolerance intervals; and rounding, by the computer system, the given quantity of products according to the packaging specification when the given quantity is out of the tolerance intervals.