]> gitweb.pimeys.fr Git - scripts-20-100.git/commitdiff
[bde/solde_date.py] et les centimes ?
authorVincent Le Gallic <legallic@crans.org>
Sat, 22 Aug 2015 18:54:55 +0000 (20:54 +0200)
committerVincent Le Gallic <legallic@crans.org>
Sat, 22 Aug 2015 18:55:16 +0000 (20:55 +0200)
bde/solde_date.py

index 8e85a5973c6f3b37918f8425545466d31564fe7c..7fb0960c2a5f9c8e8fd821dff39ae2d8169bfcdf 100755 (executable)
@@ -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.