diff --git a/app/scodoc/html_sidebar.py b/app/scodoc/html_sidebar.py
index 2d351e62..008d366b 100755
--- a/app/scodoc/html_sidebar.py
+++ b/app/scodoc/html_sidebar.py
@@ -185,7 +185,7 @@ def sidebar(etudid: int = None):
formsemestre.date_fin.strftime("%d/%m/%Y")
}">({
sco_preferences.get_preference("assi_metrique", None)})
-
{nbabsjust:1.0f} J., {nbabsnj:1.0f} N.J."""
+
{nbabsjust:1g} J., {nbabsnj:1g} N.J."""
)
H.append("