Gnralisation
darcs-hash:20050221080904-41617-28c86602c8a0a600316ff7bd42ff6e1307a73d0e.gz
This commit is contained in:
parent
a545844eeb
commit
91f6ae68cc
1 changed files with 1 additions and 1 deletions
|
@ -1042,7 +1042,7 @@ class base_proprietaire(base_classes_crans) :
|
|||
|
||||
# On effectue une opération
|
||||
try :
|
||||
new = solde + float(operation.replace(',','.'))
|
||||
new = solde + float(str(operation).replace(',','.'))
|
||||
except ValueError :
|
||||
raise ValueError(u"Il faut donner un nombre en argument.")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue