Index: main/waeup.custom/trunk/src/waeup/custom/students/tests/test_browser.py
===================================================================
--- main/waeup.custom/trunk/src/waeup/custom/students/tests/test_browser.py	(revision 7897)
+++ main/waeup.custom/trunk/src/waeup/custom/students/tests/test_browser.py	(revision 7928)
@@ -96,8 +96,8 @@
     def test_manage_payments(self):
         # Add missing configuration data
-        self.app['configuration']['2004'].gown_fee = 150
-        self.app['configuration']['2004'].transfer_fee = 90
-        self.app['configuration']['2004'].clearance_fee = 120
-        self.app['configuration']['2004'].maint_fee = 180
+        self.app['configuration']['2004'].gown_fee = 150.0
+        self.app['configuration']['2004'].transfer_fee = 90.0
+        self.app['configuration']['2004'].clearance_fee = 120.0
+        self.app['configuration']['2004'].maint_fee = 180.0
 
         # Managers can add online payment tickets
Index: main/waeup.custom/trunk/src/waeup/custom/students/utils.py
===================================================================
--- main/waeup.custom/trunk/src/waeup/custom/students/utils.py	(revision 7897)
+++ main/waeup.custom/trunk/src/waeup/custom/students/utils.py	(revision 7928)
@@ -33,12 +33,12 @@
         # fresh
         if state == CLEARED:
-            return 40000 - surcharge
+            return 40000.0 - surcharge
         # returning
         elif state == RETURNING:
-            return 20000 - surcharge
+            return 20000.0 - surcharge
         else:
-            return 0
+            return 0.0
     else:
-        return 0
+        return 0.0
 
 class StudentsUtils(StudentsUtils):
@@ -59,7 +59,7 @@
     def getPaymentDetails(self, category, student):
         d = {}
-        d['surcharge_1'] = d['surcharge_2'] = d['surcharge_3'] = 0
+        d['surcharge_1'] = d['surcharge_2'] = d['surcharge_3'] = 0.0
         d['p_item'] = u''
-        d['amount'] = 0
+        d['amount'] = 0.0
         d['error'] = u''
         d['p_session'] = student['studycourse'].current_session
@@ -88,5 +88,5 @@
             d['p_item'] = code
             d['p_session'] += 1
-        if d['amount'] == 0:
+        if d['amount'] == 0.0:
             d['error'] = _(u'Amount could not be determined.')
         return d
