[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 06/06: Calc : set 4 decimals
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 06/06: Calc : set 4 decimals |
Date: |
Wed, 20 Dec 2017 04:42:48 -0500 (EST) |
sparkyx pushed a commit to annotated tag rel6919.7
in repository noalyss.
commit 5c595c6ac952424d82dc51b173e17244b05c9fed
Author: Dany De Bontridder <address@hidden>
Date: Thu Dec 14 22:05:59 2017 +0100
Calc : set 4 decimals
---
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 4789efc..5460a7b 100644
--- a/html/js/calc.js
+++ b/html/js/calc.js
@@ -51,7 +51,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] annotated tag rel6919.7 created (now 9e96201), Dany De Bontridder, 2017/12/20
- [Noalyss-commit] [noalyss] 02/06: Accounting : error message if accounting is too large, Dany De Bontridder, 2017/12/20
- [Noalyss-commit] [noalyss] 01/06: Accounting : error message if accounting is too large, Dany De Bontridder, 2017/12/20
- [Noalyss-commit] [noalyss] 03/06: set version 6919.7, Dany De Bontridder, 2017/12/20
- [Noalyss-commit] [noalyss] 06/06: Calc : set 4 decimals,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 05/06: Improve calc, Dany De Bontridder, 2017/12/20
- [Noalyss-commit] [noalyss] 04/06: Task #0001507: Click sur détail opérations apparaît trop haut Use the function window.pageYOffset instead of window.scrollY, Dany De Bontridder, 2017/12/20