File: D:/HostingSpaces/SBogers10/wingssprayer.komma.pro/config/financial.php
<?php declare(strict_types=1);
return [
/*
|--------------------------------------------------------------------------
| Cent fraction rounding strategies
|--------------------------------------------------------------------------
|
| When doing financial calculations you must sometimes round numbers. The webshop software prevents some rounding issues by
| processing prices in cents. But event when using cents, some calculations will end up having fractions of cents. These calculations
| need rounding at the very last part of the calculation. Below are situations listed,
| and the way how they are solved.
*/
'cent_rounding' => [
//vat total is the monetary vat amount in cents that is applied to the orders "excluding vat total price". And to calculate the product prices including vat.
//It is also used for calculating the ex vat price and vat amount. See https://www.belastingdienst.nl/wps/wcm/connect/bldcontentnl/belastingdienst/zakelijk/btw/administratie_bijhouden/facturen_maken/btw-bedrag_afronden
'vat_total' => PHP_ROUND_HALF_UP,
//Checkout total ex is the monetary amount in cents that represents the orders total price, including shipping costs and discounts, but excluding vat.
'total_ex' => PHP_ROUND_HALF_UP,
],
];