To little decimal places

Hello!

I created an ODT-template and get only one decimal place after the comma (I am in Germany with comma as decimal separator).

How do I get two decimal places?

Kind regards
Andreas

Hi,

What TAG are you using ?

I am using {line_up}, {line_price_ht}, {object_total_ht}, {object_total_vat} and {object_total_ttc}.
Also found out although I set Euro (€) as main currency in the settings I get comma decimals in the webinterface but not in the ODT-template. There I have point decimals still.
Is this a setting in OO?

Andreas

Hi,

Has explained in the Wiki : https://wiki.dolibarr.org/index.php/Create_an_ODT_document_template
To have the Amounts (in output language format), you need to use the {xxxxxxxx_locale}

Thank you, that does the trick! But now I get five decimals. I guess that must be a setting in Dolibarr.

Andreas