--- C:/Users/GHOSTDEATH/Desktop/userpoints_contrib/userpoints_role/userpoints_role.module	Tue Feb 03 18:00:01 2009
+++ C:/Users/GHOSTDEATH/Desktop/userpoints_contrib-new/userpoints_role/userpoints_role.module	Wed Feb 02 13:09:30 2011
@@ -336,7 +336,7 @@
   return array(
     'rid'    => $rid,
     'name'   => $name,
-    'points' => (int)variable_get(USERPOINTS_ROLE . $rid, 0),
+    'points' => (float)variable_get(USERPOINTS_ROLE . $rid, 0),
     'tid'    => variable_get(USERPOINTS_ROLE . $rid .'_tid', 0),
   );
 }
