[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 51/219: task #0001463: Calculatrice - 4 déci
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 51/219: task #0001463: Calculatrice - 4 décimales |
Date: |
Mon, 18 Dec 2017 13:22:37 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 4feba4e5ed229d9c1c1e43a3adb7b2372b3a31a6
Author: Dany De Bontridder <address@hidden>
Date: Thu Sep 14 22:01:55 2017 +0200
task #0001463: Calculatrice - 4 décimales
---
html/js/calc.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/html/js/calc.js b/html/js/calc.js
index 37477c5..dd42d07 100644
--- a/html/js/calc.js
+++ b/html/js/calc.js
@@ -45,7 +45,7 @@ function cal()
sub=eval(p_variable);
var result=parseFloat(sub);
- result=Math.round(result*100)/100;
+ result=Math.round(result*10000)/10000;
}
catch(exception)
{
- [Noalyss-commit] [noalyss] branch master updated (1d55507 -> 689dfc2), Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 51/219: task #0001463: Calculatrice - 4 décimales,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 41/219: SQL : protection injection, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 23/219: improve doc, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 48/219: Rewriting for PLANANC ajax add, delete and update analytic accounting, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 84/219: Improve appearance, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 65/219: CFGSEC : the ledgers are now updated thanks an inplace class, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 105/219: CSS : change menu, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 06/219: Fix bug and esthetic : the var. dep can be empty, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 09/219: profil : CFGPRO , correct, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 72/219: Warning : use new icon, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 36/219: Task #0001411: Faire des boutons du menu des... boutons. uniquement classic & light, Dany De Bontridder, 2017/12/18