Created attachment 372968 [details] Wrong amount shown in the register When I open an account which contains history of my operations with MSFT stock I see prices as expressions, but when I select such transaction, the expression changes to meaningless value. For example: price is '85 + 73195/135583' for 27.1166 shares bought ($2319.55 of value). While not convenient, the expression looks correct, but when selected value changed to 1.389854 which is out of this world (please see the attachment). When I generate transaction report it looks correct, so it seems the bug is in the register. I also tried to resave my database in different formats (xml, sqlite3) and played with locale settings to no avail. I also downgraded my Gnucash to 3.1 version and it seems the bug is still there too. Please let me know if any other information is required, I will gladly provide it.
Created attachment 372969 [details] Price shown as an expression
I can't replicate that on MacOS, I'll try on Windows later today.
It seems that the 'Automatic decimal point' setting is responsible. When I turned it off, the numbers became correct.
Aha! Yes, I can reproduce that. Speculation: When editing the automatic decimal is disabled and the amount in the edit is treated as an integer.
Created attachment 372985 [details] fund register I can confirm this behaviour also in linux/Debian Amounts are wrong displayed, but are ok in edit mode and when the row is selected.