xrexis / procurement

Automatically exported from code.google.com/p/procurement
0 stars 0 forks source link

Currency Calculation Bugged #254

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
NB: First check the wiki and existing issues!

What version of Procurement are you using? On what operating system?
1.4.0 on Win7

What steps will reproduce the problem?
1. Type in a nontrivial conversion rate of GCPs to Chaos like 2 to 3 or 7 to 11

What is the expected output? What do you see instead?
expected: 2 gcps at ratio 2:3 should give the value 3 in the currency 
Breakdown; instead you get 12. With 7:11 you get the value 154=2*7*11

Please provide any additional information below.
I think the problem is quite simple: instead of calculating a:b, it actually 
calculates 1:(a*b).

Original issue reported on code.google.com by jjjbr...@googlemail.com on 22 May 2014 at 12:06

GoogleCodeExporter commented 9 years ago

Original comment by stickymaddness on 25 May 2014 at 9:36