Bug 513121 - Conversion from decimal currency to a zero-decimal currency is broken
Summary: Conversion from decimal currency to a zero-decimal currency is broken
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: bugtracker (other bugs)
Version First Reported In: 5.2.1
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-09 10:18 UTC by Zoltan Puskas
Modified: 2025-12-09 10:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zoltan Puskas 2025-12-09 10:18:44 UTC
SUMMARY

Conversion rates for Japanese Yen (JPY) are stored incorrectly due to decimal differences between JPY and other currencies.

STEPS TO REPRODUCE
1. Create a transaction to transfer money from currency (e.g. USD) that has cents to Japanese Yen (JPY)
2. Exchange rate for USD is forced to be without decimals (cents)

OBSERVED RESULT

I want to transfer from one account 67.29USD to another account as 10,000JPY, however KMyMoney will force the conversion rate to be either 67.00USD to 10,000JPY, or 67.00USD to 10,043JPY (depending in which currency I define the transfer transaction). I cannot make it 67.29USD for 10000JPY however.

EXPECTED RESULT

Allow for fractional dollars (or other currency) to be converted into non-fractional Japanese Yen.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.18.0-gentoo (64-bit)
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1
Comment 1 Zoltan Puskas 2025-12-09 10:22:18 UTC
I'd like to note that this happens, when I try to use a custom exchange rate (clicking on the little currency sign in the "amount" field) in the pop-up "Exchange Rate/Price Editor" window.