Skip to content

Commit

Permalink
Added comma-numeric format.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Fulton committed Oct 23, 1997
1 parent f9fa477 commit ee80e1e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions DT_Var.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
The parameter 'spacify' may be provided to cause underscores in
the inserted value to be converted to spaces.
'''
__rcs_id__='$Id: DT_Var.py,v 1.2 1997/09/22 14:42:51 jim Exp $'
__rcs_id__='$Id: DT_Var.py,v 1.3 1997/10/23 13:30:16 jim Exp $'

############################################################################
# Copyright
Expand Down Expand Up @@ -137,7 +137,7 @@
# (540) 371-6909
#
############################################################################
__version__='$Revision: 1.2 $'[11:-2]
__version__='$Revision: 1.3 $'[11:-2]

from DT_Util import *

Expand Down Expand Up @@ -253,6 +253,7 @@ def len_comma(v):
'html-quote': html_quote,
'url-quote': url_quote,
'multi-line': multi_line,
'comma-numeric': commatify,
'whole-dollars': whole_dollars,
'dollars-and-cents': dollars_and_cents,
'dollars-with-commas': whole_dollars_with_commas,
Expand All @@ -263,6 +264,9 @@ def len_comma(v):

############################################################################
# $Log: DT_Var.py,v $
# Revision 1.3 1997/10/23 13:30:16 jim
# Added comma-numeric format.
#
# Revision 1.2 1997/09/22 14:42:51 jim
# added expr
#
Expand Down

0 comments on commit ee80e1e

Please sign in to comment.