From: Vincent Le Gallic Date: Sat, 22 Aug 2015 18:54:55 +0000 (+0200) Subject: [bde/solde_date.py] et les centimes ? X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=95260bf211e8671a1bd4f7b2b4b806473bbb19db;p=scripts-20-100.git [bde/solde_date.py] et les centimes ? --- 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.