Parent Directory | Revision Log | Patch
revision 1.10 by mhepp, Tue Oct 14 17:36:37 2003 UTC | revision 1.11 by mhepp, Thu Oct 23 20:10:56 2003 UTC | |
---|---|---|
# | Line 14 def printField (field,size,justif='l'): | Line 14 def printField (field,size,justif='l'): |
14 | def printAccount (field,size): | def printAccount (field,size): |
15 | value = round(field,2) | value = round(field,2) |
16 | if value == 0: | if value == 0: |
17 | return ("0.00") | return ("0.00 ").rjust(size) |
18 | elif value > 0: | elif value > 0: |
19 | return (str("%0.2f " % value )[:size]).rjust(size) | return (str("%0.2f " % value )[:size]).rjust(size) |
20 | else : | else : |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |