[Templates] formatting a Number with comma seperating 1000's

Martin Moss martin_moss@btopenworld.com
Thu, 14 Jun 2007 17:03:41 +0100 (BST)


Hi,

Was wondering if there is an easy way to format a
number in template toolkit to pad each 1000 withn a
comma..

e.g 1000 become 1,000   and 1000000 becomes 1,000,000




      ___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/