HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/blije-gasten.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,
  ],
];