Bug 325307 - decimal places truncated when (1) entering amount in split, (2) reconciliation ending balance
Summary: decimal places truncated when (1) entering amount in split, (2) reconciliatio...
Status: RESOLVED WORKSFORME
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR major
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-25 17:19 UTC by Dave Nelson
Modified: 2013-09-25 19:55 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Nelson 2013-09-25 17:19:22 UTC
(1) amount entered in split edit loses its decimal places when clicking on tick icon.  existing unchanged amounts display correctly afterwards.

(2) reconciliation starting and ending balances displayed without decimals, so cannot reconcile precisely.

using libalkimia-4.3.2,  kde-4.11.1,  ubuntu saucy (development release)

Reproducible: Always

Steps to Reproduce:
1. enter/change amount in split view
2. try to reconcile account
3.
Actual Results:  
1) decimal places lost
2) decimal places don't display for starting and ending balances

Expected Results:  
not truncated decimal places
Comment 1 Jack 2013-09-25 17:39:19 UTC
If you compiled yourself, please specify whether the source was a tarball (which version) or git (master?).  What is your locale setting, and the KDE currency setting?  (probably not an issue, but just in case)

In the reconciliation dialog, is the decimal separator displayed?  If you expect the starting balance to be "123.45" does it display "1234"  "1234." or "1234.00" ?  Similar for the split amount.
Comment 2 Dave Nelson 2013-09-25 18:20:51 UTC
Just recompiled from git - same result.

No decimal separator displayed in both cases.

As you suggested, the locale is not properly set. Country and currency are both missing in KDE.  The error message says I'm missing localization files for en_US, so I'll check hw to fix that. 
Thanks for the quick response and tip.
Comment 3 Cristian Oneț 2013-09-25 18:58:30 UTC
I marked this as WORKSFORME since it's definitely a caused by a KDE locale missconfiguration.
Comment 4 Dave Nelson 2013-09-25 19:55:20 UTC
after adding locale info to kdeglobals, it now works fine.
thanks for the help.