Bug 513121

Summary: Conversion from decimal currency to a zero-decimal currency is broken
Product: [Applications] kmymoney Reporter: Zoltan Puskas <zoltan>
Component: bugtrackerAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.2.1   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.