I'm trying to change the way that doubles are rendered when processing Freemarker templates. This can be controlled by changing the NaN symbol on DecimalFormatSymbols. Unfortunately, I can't get access to the DecimalFormat used by the Environment class when the template is processed. I could achieve this by subclassing the Environment class, except that Environment is marked final. I'm sure that...
2009-12-16 17:30:16 UTC in FreeMarker