diff --git a/searx/engines/__init__.py b/searx/engines/__init__.py
index <HASH>..<HASH> 100644
--- a/searx/engines/__init__.py
+++ b/searx/engines/__init__.py
@@ -261,7 +261,7 @@ def get_engines_stats():
 
     for engine in errors:
         if max_errors:
-            engine['percentage'] = int(engine['avg']/max_errors*100)
+            engine['percentage'] = int(float(engine['avg'])/max_errors*100)
         else:
             engine['percentage'] = 0
[fix] error percentage @ stats page