Transpas uses a central and configurable rounding method.
This method is applied across multiple areas of the application — such as surcharge calculations, price rules, invoicing, and time registration.
In the Rounding Rules screen, you can configure how rounding should be applied.
Once defined, these rules can be selected and used in other modules.
| Field | Description |
|---|---|
| Description | Name or label of the rounding rule. Used as a reference in other modules. |
| Method | Defines the rounding behavior. Available options:
|
| # Decimals | The number of decimal places to round to. |
| Multiple of | Rounds to a specific multiple, such as 0.05 or 0.10. |
⚠️ Note: Both # Decimals and Multiple of affect the final rounding result.
Example: 2 decimals + multiple of 0.05 with method “Up” → always rounds up to the next multiple of 0.05.
| Method | Example (value = 1.23, multiple = 0.10) |
|---|---|
| Up | 1.30 |
| Down | 1.20 |
| Auto | 1.20 (because 1.23 is closer to 1.20 than to 1.30) |
| Toward 0 | 1.20 (positive), -1.20 (negative) |
You want to round a mileage surcharge to €0.10, always upward.
You would configure a rounding rule as follows:
| Field | Value |
|---|---|
| Description | Mileage surcharge (up) |
| Method | Up |
| # Decimals | 2 |
| Multiple of | 0.10 |
This rule can then be selected in the relevant Surcharge Definition.
Transpas provides a flexible rounding configuration through the Rounding Rules screen, offering:
This ensures consistent and configurable rounding of values and quantities across all relevant modules.