diff --git a/searx/engines/duckduckgo_weather.py b/searx/engines/duckduckgo_weather.py
index d0f34d60f..0540cbcb5 100644
--- a/searx/engines/duckduckgo_weather.py
+++ b/searx/engines/duckduckgo_weather.py
@@ -39,12 +39,12 @@ def generate_condition_table(condition):
res += (
f"
{gettext('Wind')} | {condition['windBearing']}° — "
- f"{'%.2f' % (condition['windSpeed'] * 1.6093440006147)} km/h / {condition['windSpeed']} mph |
"
+ f"{(condition['windSpeed'] * 1.6093440006147):.2f} km/h / {condition['windSpeed']} mph"
)
res += f"{gettext('Visibility')} | {condition['visibility']} km | "
- res += f"
{gettext('Humidity')} | {condition['humidity'] * 100}% |
"
+ res += f"{gettext('Humidity')} | {(condition['humidity'] * 100):.1f}% |
"
return res