Number::Format has a Template Toolkit module that can do that and a lot more.
Disclaimer: I'm the Number::Format author/maintainer. On Fri, Apr 23, 2010 at 10:09 AM, Felipe Gasper (cPanel) <[email protected]>wrote: > Hey all, > > What is the best way in TT to add thousands separators to numbers, > e.g. > 1234567 -> '1,234,567'? > > -FG > > _______________________________________________ > templates mailing list > [email protected] > http://mail.template-toolkit.org/mailman/listinfo/templates > -- Check out my LEGO blog at http://www.brickpile.com/ View my photos at http://flickr.com/photos/billward/ Follow me at http://twitter.com/williamward
_______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
