RE: Formatting in extended theme using Freemarker

2009-09-12 Thread ashwin ala
Thank you for the prompt replies. The BigDecimal rounding somehow always renders the value with extra zeroes appended. I had some success with the freemarker number formatting as suggested by Martin and am getting close to solving this. I changed text.ftl to now use this line: <#if parameters.nameV

Formatting in extended theme using Freemarker

2009-09-11 Thread ashwin ala
We currently display BigDecimal values in tags in our jsps. These values need to be formatted to display as currency values. Example: "123.35" should display as "123.35" I extended the simple theme to create a currency theme using only the text.ftl template file. I basically copied the text.ft