i have a problem with decimal of commodities.
my stocks have 5 decimal for units but euro have only two decimals.
so basically here i have a buy operation.:
2021-02-09 * "Achat" "100"
Assets:Titre:
Assurance-vie 0.081869 SMG-ASIE {232.69 EUR, 2021-02-09}
Assets:Titre:
Assurance-vie 1.498820 ODDO-PATRIMOINE {25.42 EUR, 2021-02-09}
Assets:Titre:
Assurance-vie 0.273118 ODDO-CONV {139.50 EUR, 2021-02-09}
Assets:Titre:
Assurance-vie 0.021467 ODDO-AVENIR {4436.98 EUR, 2021-02-09}
Expenses:Frais-bancaires 9.50 EUR
Assets:Titre:Assurance-vie:Cash -200 EUR
and the problem is if i do a BQL :
SELECT
account, units(sum(position)) AS quantity
WHERE
account ~ "Generation"
GROUP BY account
ORDER BY account
the quantity is with only two decimals not five :(
how i can do it ?
regards