TomFrost/Hydrogen — pull request #12 by Cackenballz (2011-11-16 01:58:16+00:00)
Title: Some simple filters added

Hey Tom!

This is ClosetDeveloper from webdevRefinery and have been experimenting with some additional filters. As my screen name on your forums suggests, I'm no expert, so hopefully my simple code meets your approval. =)

Just adding some simple formatting filters where you can format with commas and specify a single argument for the number of decimals. The other filter does exactly the same, but in a percent format, also specifying decimal places (automatically formats with commas and adds the percent sign).

Let me know what you think or if I'm way off-base. Don't mean to waste your valuable time!

Aaron