From 6f10192fc69e7aead3c17db3d92334132c507d54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valentin=20Mogu=C3=A9rou?= Date: Sat, 15 Jul 2023 16:58:22 +0200 Subject: [PATCH] Clarification --- BCG/calcul.js | 20 ++++++++++---------- BFI/calcul.js | 20 ++++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/BCG/calcul.js b/BCG/calcul.js index 2158a44..4461903 100755 --- a/BCG/calcul.js +++ b/BCG/calcul.js @@ -129,8 +129,8 @@ function update() { total_options += points_lca_1re; document.getElementById("points-lca-1re").innerHTML = points_lca_1re.toLocaleString("fr"); } else { - document.getElementById("coef-lca-1re").innerHTML = "2 0"; - document.getElementById("points-lca-1re").innerHTML = "2 0"; + document.getElementById("coef-lca-1re").innerHTML = "2"; + document.getElementById("points-lca-1re").innerHTML = "2"; } if (document.getElementById("check-lca-tle").checked) { @@ -140,8 +140,8 @@ function update() { total_options += points_lca_tle; document.getElementById("points-lca-tle").innerHTML = points_lca_tle.toLocaleString("fr"); } else { - document.getElementById("coef-lca-tle").innerHTML = "2 0"; - document.getElementById("points-lca-tle").innerHTML = "2 0"; + document.getElementById("coef-lca-tle").innerHTML = "2"; + document.getElementById("points-lca-tle").innerHTML = "2"; } if (document.getElementById("check-opt1-1re").checked) { @@ -151,8 +151,8 @@ function update() { total_options += points_opt1_1re; document.getElementById("points-opt1-1re").innerHTML = points_opt1_1re.toLocaleString("fr"); } else { - document.getElementById("coef-opt1-1re").innerHTML = "2 0"; - document.getElementById("points-opt1-1re").innerHTML = "2 0"; + document.getElementById("coef-opt1-1re").innerHTML = "2"; + document.getElementById("points-opt1-1re").innerHTML = "2"; } if (document.getElementById("check-opt1-tle").checked) { @@ -162,8 +162,8 @@ function update() { total_options += points_opt1_tle; document.getElementById("points-opt1-tle").innerHTML = points_opt1_tle.toLocaleString("fr"); } else { - document.getElementById("coef-opt1-tle").innerHTML = "2 0"; - document.getElementById("points-opt1-tle").innerHTML = "2 0"; + document.getElementById("coef-opt1-tle").innerHTML = "2"; + document.getElementById("points-opt1-tle").innerHTML = "2"; } if (document.getElementById("check-opt2").checked) { @@ -173,8 +173,8 @@ function update() { total_options += points_opt2; document.getElementById("points-opt2").innerHTML = points_opt2.toLocaleString("fr"); } else { - document.getElementById("coef-opt2").innerHTML = "2 0"; - document.getElementById("points-opt2").innerHTML = "2 0"; + document.getElementById("coef-opt2").innerHTML = "2"; + document.getElementById("points-opt2").innerHTML = "2"; } document.getElementById("total-coef-options").innerHTML = coef_options.toLocaleString("fr"); diff --git a/BFI/calcul.js b/BFI/calcul.js index 952b8b8..a153e38 100755 --- a/BFI/calcul.js +++ b/BFI/calcul.js @@ -145,8 +145,8 @@ function update() { total_options += points_lca_1re; document.getElementById("points-lca-1re").innerHTML = points_lca_1re.toLocaleString("fr"); } else { - document.getElementById("coef-lca-1re").innerHTML = "2 0"; - document.getElementById("points-lca-1re").innerHTML = "2 0"; + document.getElementById("coef-lca-1re").innerHTML = "2"; + document.getElementById("points-lca-1re").innerHTML = "2"; } if (document.getElementById("check-lca-tle").checked) { @@ -156,8 +156,8 @@ function update() { total_options += points_lca_tle; document.getElementById("points-lca-tle").innerHTML = points_lca_tle.toLocaleString("fr"); } else { - document.getElementById("coef-lca-tle").innerHTML = "2 0"; - document.getElementById("points-lca-tle").innerHTML = "2 0"; + document.getElementById("coef-lca-tle").innerHTML = "2"; + document.getElementById("points-lca-tle").innerHTML = "2"; } if (document.getElementById("check-opt1-1re").checked) { @@ -167,8 +167,8 @@ function update() { total_options += points_opt1_1re; document.getElementById("points-opt1-1re").innerHTML = points_opt1_1re.toLocaleString("fr"); } else { - document.getElementById("coef-opt1-1re").innerHTML = "2 0"; - document.getElementById("points-opt1-1re").innerHTML = "2 0"; + document.getElementById("coef-opt1-1re").innerHTML = "2"; + document.getElementById("points-opt1-1re").innerHTML = "2"; } if (document.getElementById("check-opt1-tle").checked) { @@ -178,8 +178,8 @@ function update() { total_options += points_opt1_tle; document.getElementById("points-opt1-tle").innerHTML = points_opt1_tle.toLocaleString("fr"); } else { - document.getElementById("coef-opt1-tle").innerHTML = "2 0"; - document.getElementById("points-opt1-tle").innerHTML = "2 0"; + document.getElementById("coef-opt1-tle").innerHTML = "2"; + document.getElementById("points-opt1-tle").innerHTML = "2"; } if (document.getElementById("check-opt2").checked) { @@ -189,8 +189,8 @@ function update() { total_options += points_opt2; document.getElementById("points-opt2").innerHTML = points_opt2.toLocaleString("fr"); } else { - document.getElementById("coef-opt2").innerHTML = "2 0"; - document.getElementById("points-opt2").innerHTML = "2 0"; + document.getElementById("coef-opt2").innerHTML = "2"; + document.getElementById("points-opt2").innerHTML = "2"; } document.getElementById("total-coef-options").innerHTML = coef_options.toLocaleString("fr");