maily89 / fbdm

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

[RNK-Business] RNKFinancialMarking.CalculateFinancialScore #140

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
"ranking.FinancialScore = finalScore / 100 * 
GetFinancialProportion(ranking).Percentage.Value/100;
            entities.SaveChanges();
            return finalScore/100;
Sao ở cuối lại return /100, hình như là không phải chia cho 100 
nữa chứ nhỉ?
Nhiều chỗ calculate khác cũng return như thế?"

Original issue reported on code.google.com by longnhi....@gmail.com on 16 Apr 2011 at 4:31

GoogleCodeExporter commented 9 years ago
de y ki la o tren khi tinh toan cung chia cho 100.
Do do khi return cg phai chia cho 100.
co le nen sua lai cho nay la finanScore/=100;, sau do moi tinh toan cac buoc 
tren, nhu the se de hieu hon

Original comment by maily...@gmail.com on 18 Apr 2011 at 6:10

GoogleCodeExporter commented 9 years ago
Ok thế thì tớ hiểu đoạn xử lý này của bạn rồi. Tớ bị 
nhầm sorry nhé. Bạn có thể để nguyên xử lý như cũ cũng 
được. Có điều cái đoạn này và nhiều đoạn tương tự nên 
kiểm tra lại lần nữa cho chắc ăn vì nó là tính toán với 
hằng số, sợ bị nhầm.

Original comment by longnhi....@gmail.com on 18 Apr 2011 at 7:12

GoogleCodeExporter commented 9 years ago

Original comment by maily...@gmail.com on 18 Apr 2011 at 4:05