spiral-project/ihatemoney — pull request #66 by aavenel (2011-11-02 14:29:00+00:00)
Title: Partial fix to #62 : french numbers should use commas rather than dots

Added a CommaDecimalField class to permit the use of comma in a DecimalField.

It also convert take the absolute value of an amount when the amount is negative (instead of raise an exception ).

TODO : display all numbers with a comma when the language is set to french.
Maybe edit the templates and replace {{ "%0.2f"|format(bill.amount) }} with {{ "_("%0.2f")"|format(bill.amount) }} to customize the format in language files ?