kryptovero.github.io
kryptovero.github.io copied to clipboard
Official rules for rounding
Should the amount of profit be rounded (in Euros) for each row, or only for the resulting sum?
Hello, I've contacted Vero and they said that I must round up the value of each row, at least with my understanding
Super! Did you have anything in writing from them (email, screenshot) that could be added for a future reference?
I believe this function should return the rounded-up value: https://github.com/jehna/kryptovero.fi/blob/cb0ce9494677c9bae462f9c6edf6ce84c5cd9d7d/ledger/src/index.ts#L55-L58