diff --git a/src/KPI Generator/Reportings/Project/ProjectReporting.cs b/src/KPI Generator/Reportings/Project/ProjectReporting.cs
index 9e539f55c4c2d7bd2b3e8765edae28f92e6b7a0b..2663b7c33a65e1a6c1aac45db9b4576f09d387af 100644
--- a/src/KPI Generator/Reportings/Project/ProjectReporting.cs	
+++ b/src/KPI Generator/Reportings/Project/ProjectReporting.cs	
@@ -147,7 +147,7 @@ public class ProjectReporting : Reporting<ProjectReportingOptions>
         };
     }
 
-    private float CalculateUsedForAll(ResourceType resourceType, Guid projectId, QuotaUnit outputInThisUnit)
+    private long CalculateUsedForAll(ResourceType resourceType, Guid projectId, QuotaUnit outputInThisUnit)
     {
         var resources = _resourceModel.GetAllWhere((resource) =>
                     (from projectResource in resource.ProjectResources
@@ -179,10 +179,10 @@ public class ProjectReporting : Reporting<ProjectReportingOptions>
         }
         );
 
-        return used;
+        return (long)used;
     }
 
-    private float CalculateAllocatedForAll(ResourceType resourceType, Guid projectId)
+    private long CalculateAllocatedForAll(ResourceType resourceType, Guid projectId)
     {
         var resources = _resourceModel.GetAllWhere((resource) =>
                     (from projectResource in resource.ProjectResources
@@ -212,7 +212,7 @@ public class ProjectReporting : Reporting<ProjectReportingOptions>
             }
         });
 
-        return allocated;
+        return (long)allocated;
     }
 
     private List<Organization> GetOrganizations(ProjectObject project)