maily89 / fbdm

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

[RNK-Business] RNKScaleMarking.GetScaleScore và hàm GetScale #138

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
"Đoạn code: if (value >= item.FromValue && value <= item.ToValue)
                {
cần phải chỉnh lại là < item.ToValue mới đúng với việc so 
sánh.
Ngoài ra sao không kiểm tra Null của FromValue và ToValue. Nếu nó = 
null thì có lỗi xảy ra đấy không. Nếu là null thì tớ nghĩ 
bạn nên catch về giá trị 0
Tương tự với hàm GetScale"

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

GoogleCodeExporter commented 9 years ago
da them dieu kien check.
Con doan .ToValue minh qui uoc la toan bo .ToValue se la < hay la the nao?
Luc code to nghi rang co the gia tri .ToValue nguoi dung se nhap gia tri kieu 
9.999999 hay the nao do.

Original comment by maily...@gmail.com on 17 Apr 2011 at 2:16

GoogleCodeExporter commented 9 years ago
giu nguyen ham so sanh
da check null

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