Rounding for CHF
Happy Birthday Tryton!
now you are #1000 (closed) old.
No longer a kid on the open source ERP block
you get adolescent. My best wishes for the future.
Bug 1000 is a bug which a lot of other ERP systems have too. In currencies is for Swiss Franc CHF a rounding factor 0.010000 but this seems wrong. The CHF is rounded to something like five cents called "Rappen". It is rounded in general by this rules:
From 1,000 to 1,024 = 1,00
From 1,025 to 1,074 = 1,05
From 1,075 to 1,099 = 1,10
And sometimes it is rounded down this way:
From 1,000 to 1,049 = 1,00
From 1,050 to 1,099 = 1,05
From 1,100 to 1,149 = 1,10