From 95260bf211e8671a1bd4f7b2b4b806473bbb19db Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Sat, 22 Aug 2015 20:54:55 +0200 Subject: [PATCH] [bde/solde_date.py] et les centimes ? --- bde/solde_date.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bde/solde_date.py b/bde/solde_date.py index 8e85a59..7fb0960 100755 --- a/bde/solde_date.py +++ b/bde/solde_date.py @@ -30,4 +30,4 @@ cur.execute("SELECT sum(montant*quantite) FROM transactions WHERE valide AND eme ,(idbde,date)) given = cur.fetchone()[0] -print (received-given)/100 +print (received-given)/100. -- 2.39.2