Commit e58e4bab authored by Jim Fulton's avatar Jim Fulton

Added comma-numeric format.

parent a6863194
...@@ -83,7 +83,7 @@ __doc__='''Variable insertion parameters ...@@ -83,7 +83,7 @@ __doc__='''Variable insertion parameters
The parameter 'spacify' may be provided to cause underscores in The parameter 'spacify' may be provided to cause underscores in
the inserted value to be converted to spaces. 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 # Copyright
...@@ -137,7 +137,7 @@ __rcs_id__='$Id: DT_Var.py,v 1.2 1997/09/22 14:42:51 jim Exp $' ...@@ -137,7 +137,7 @@ __rcs_id__='$Id: DT_Var.py,v 1.2 1997/09/22 14:42:51 jim Exp $'
# (540) 371-6909 # (540) 371-6909
# #
############################################################################ ############################################################################
__version__='$Revision: 1.2 $'[11:-2] __version__='$Revision: 1.3 $'[11:-2]
from DT_Util import * from DT_Util import *
...@@ -253,6 +253,7 @@ special_formats={ ...@@ -253,6 +253,7 @@ special_formats={
'html-quote': html_quote, 'html-quote': html_quote,
'url-quote': url_quote, 'url-quote': url_quote,
'multi-line': multi_line, 'multi-line': multi_line,
'comma-numeric': commatify,
'whole-dollars': whole_dollars, 'whole-dollars': whole_dollars,
'dollars-and-cents': dollars_and_cents, 'dollars-and-cents': dollars_and_cents,
'dollars-with-commas': whole_dollars_with_commas, 'dollars-with-commas': whole_dollars_with_commas,
...@@ -263,6 +264,9 @@ special_formats={ ...@@ -263,6 +264,9 @@ special_formats={
############################################################################ ############################################################################
# $Log: DT_Var.py,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 # Revision 1.2 1997/09/22 14:42:51 jim
# added expr # added expr
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment