Rounding quantities

When you fill out a forecast or order by uploading a file, the Portal performs a check on the requested quantities and align them to the items' packaging.

The rules applied by the Portal are the following:

IF requested quantity ≤ packaging THEN final quantity = packaging

IF requested quantity > packaging THEN the closest packaging, according to the below conditions:

  • IF remaining of division (requested quantity / packaging) is ≥ of division (packaging / 2) THEN final quantity = packaging * (integer portion of division (requested quantity / packaging) + 1)
  • IF remaining of division (requested quantity / packaging) is < of division (packaging / 2) THEN final quantity = packaging * (integer portion of division (requested quantity / packaging))


When uploading a file into a forecast or order the Portal will warn you if any rounding has been performed, as in the below example:

The rationale of the rounding is aligning the requested quantity to the closest packaging, e.g. if you order 1001 of Paracetamol packaged 1000 the Portal will round down your order to 1000