Hi, One Vietnam Dong is 1/26098 euro. The smallest bill is 500 VND , but banks will credit or debit accounts to the unit digit. Expected behavior: Gnucash rounds up when converting currencies into VND. Minh
Related: #666536 https://bugs.gnucash.org/show_bug.cgi?id=666536 #769590 https://bugs.gnucash.org/show_bug.cgi?id=769590 The ISO 4217 standard referred to in that second bug also lists VND with smallest division. https://en.wikipedia.org/wiki/ISO_4217
Related: #647340 https://bugs.gnucash.org/show_bug.cgi?id=647340 The VND is listed under Tools / Security Editor when checking the currency box. The smallest fraction is not editable. I think that immutable smallest fraction is a GOOD idea. It should be set correctly. Changing a 2 to 0 in some currency configuration file seems a trivial fix, let me know if I should propose a diff :)
*** Bug 797291 has been marked as a duplicate of this bug. ***
It depends on what "immutable" means. It's immutable in that the user can't change it, but at present it's also immutable even when the ISO4217 committee changes it as they did in September 2017. The problem is that if we update the currency database that will change the entry for the currency but not for any accounts using the currency and not for any existing transactions unless you edit them--but it will change the way the transactions display if there are old transactions with fractions of a Dong. For example, consider if you have a the following transaction: Date Num Description Transfer Debit Credit Balance 2005-06-24 Buy stuff Expenses:Stuff 49.38 432.62 After changing the currency's smallest fraction in the program it will display as: Date Num Description Transfer Debit Credit Balance 2005-06-24 Buy stuff Expenses:Stuff 49.00 432.62 in the register. I tested the Balance Sheet and Profit & Loss reports and they rounded to the currency's fraction, which is good, but there may be others that don't.
I do not understand the problem. - Rounding up all future currency conversions that GnuCash performs to the nearest VND should not have any effect on existing transactions. No retroactivity. - There is an option to adjust the smallest fraction displayed in the "Edit Account" account dialog. VND accounts should no not display any decimal at all. My real account looks like: Date Num Description Transfer Debit Credit Balance 2005-06-24 Buy stuff Expenses:Stuff 2.325.000 11.962.903 - I consider old transactions with fractions of a dong as mistakes created by Gnucash when converting currencies. I do edit them manually, but would welcome automation. Computers are good at "Select all instances of fraction VND created by Gnucash currency conversion and round."
This is fixed in response to bug 797624.