Bug 315124 - Can't enter decimal places in a split transaction
Summary: Can't enter decimal places in a split transaction
Status: RESOLVED NOT A BUG
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.6.3
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-14 11:22 UTC by Jesús Jiménez
Modified: 2013-02-14 11:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesús Jiménez 2013-02-14 11:22:13 UTC
When I split a transaction, I can't input decimal places for each sub-transaction. All numbers get rounded when I click accept (i. e. 20,19 gets rounded to 20,00). That usually makes impossible to split a transaction, since total amount is never equal to the sum of the sub-transactions and the dialog complains about it.


Reproducible: Always

Steps to Reproduce:
1. Try to split a transaction
2. For any sub-transaction, enter a non-round value.
3. Click ok (little icon besides input line).


Actual Results:  
The amount entered in (2) will be truncated to nearest round value.

Expected Results:  
The amount entered in (2) should remain as input

My computer is configured in spanish, so local currency is euros. Decimal separator is a comma (not a dot), don't know if that might be the problem.
Comment 1 Jesús Jiménez 2013-02-14 11:34:58 UTC
Same thing happens in other parts of the application, like setting the opening balance of an account.
Comment 2 Thomas Baumgart 2013-02-14 11:41:43 UTC
Please check in Settings/KDE language settings on the Money tab that

a) your decimal separator is set to comma
b) your group separator is set to dot
c) the number of decimal places is two

That is my setting here for the Euro and it works that way for over a decade now.
Comment 3 Jesús Jiménez 2013-02-14 11:59:27 UTC
You're right, that fixed it. I had it configured with 0 decimal places. The weird thing is that most KMyMoney works flawlessly with 2 decimals, but those two screens.

Anyway, it's fixed, thanks a lot (and sorry for filing a bug that wasn't KMyMoney's fault).

(In reply to comment #2)
> Please check in Settings/KDE language settings on the Money tab that
> 
> a) your decimal separator is set to comma
> b) your group separator is set to dot
> c) the number of decimal places is two
> 
> That is my setting here for the Euro and it works that way for over a decade
> now.