- Timestamp:
- 22 Dec 2016, 20:22:28 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/studylevel.py
r14357 r14362 60 60 return total 61 61 62 def _display_gpa(self, gpa): 63 return int(100 * gpa) / 100.0 64 62 65 @property 63 66 def gpa_params(self): … … 72 75 credits_weighted += ticket.credits * ticket.weight 73 76 if credits_counted: 74 level_gpa = round(credits_weighted/credits_counted, 3)77 level_gpa = self._display_gpa(credits_weighted/credits_counted) 75 78 # Override level_gpa if value has been imported 76 79 imported_gpa = getattr(self, 'imported_gpa', None)
Note: See TracChangeset for help on using the changeset viewer.