In MetaKocka, all numbers are rounded to 7 decimal places. There are cases when as many as possible decimal places should be used so that no error should occur when multiplying price by quantity. For example:


  • the price of one piece of product could be pretty low. A sheet of A4 paper can be priced at 0,0004 EUR.
  • gross price should be converted to net price, but the price is typically multiplied by great quantity, therefore the net price should be as accurate as possible. For example, a gross price of 1,99 EUR is 1.6311475 net price.


On the other hand, on the output documents (such as invoices issued), the number should be rounded to fewer decimal places. By applying decimal places settings to specific parts of the application or reports, the number of decimal places the prices should be rounded up to can be set.


Example: invoice document

Let's check the invoice with the product price of 0,00023 EUR and quantity of 203. For the invoice printed, the price should be rounded to 4 and 2 decimals (in total) respectively.


If the invoice is printed without applied settings, the following is displayed:



Now the appropriate decimal places should be set, as displayed in the picture below:



Final result: