Bug 286640 - Chilean Peso shouldn't have decimals
Summary: Chilean Peso shouldn't have decimals
Status: RESOLVED DUPLICATE of bug 255492
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.6.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-15 00:30 UTC by Martin Zecher
Modified: 2011-12-14 18:53 UTC (History)
1 user (show)

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 Martin Zecher 2011-11-15 00:30:53 UTC
Version:           4.6.1 (using KDE 4.7.3) 
OS:                Linux

That's all, just like yen we don't use cents in Chile. Thus, having all operations with decimals may lead to errors especially when converting to other currencies (it doesn't round to the appropriate digit).

Reproducible: Always

Steps to Reproduce:
Not applicable


Expected Results:  
CLP without decimals.

OS: Linux (x86_64) release 3.1.1-1-ck
Compiler: gcc
Comment 1 Cristian Oneț 2011-12-14 18:24:42 UTC
According to http://en.wikipedia.org/wiki/Chilean_peso#Second_peso.2C_1975.E2.80.93present and the report there are no more 'centavos' (peso subdivisions) in circulation. Thomas you've said that you'll fix this, I can take care of it if it's OK with you.
It's just a matter of setting:
PPU=1
SCF=1
SAF=1
for the chilean peso (but you know that :) ).
Comment 2 Alvaro Soliverez 2011-12-14 18:37:16 UTC
The big solution here is to make KMyMoney use KCurrency instead of own classes. That would certainly help avoid issues like these.
Comment 3 Cristian Oneț 2011-12-14 18:39:24 UTC
You mean this whish bug 255492?
Comment 4 Alvaro Soliverez 2011-12-14 18:42:43 UTC
Yes, that's the definitive answer to all these cents-here, new-currency-there, old-currency-over-there issue.
Comment 5 Cristian Oneț 2011-12-14 18:53:56 UTC
Since that feature was on the waiting list because it needed KDE 4.4 and we already have that as a requirement I'll mark this as a duplicate of the port to the KDE currency system.

*** This bug has been marked as a duplicate of bug 255492 ***