X-Git-Url: http://gitweb.pimeys.fr/?a=blobdiff_plain;f=bde%2Fsolde_date.py;h=7fb0960c2a5f9c8e8fd821dff39ae2d8169bfcdf;hb=95260bf211e8671a1bd4f7b2b4b806473bbb19db;hp=8e85a5973c6f3b37918f8425545466d31564fe7c;hpb=2747b8e25877415b22fa0bd691e850c61275826e;p=scripts-20-100.git 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.