Owen Rogers

Show:

What's happening?

  • Comment: Change NaN rendering for doubles

    Thanks for your comment. Would you like a patch? Or is it easier/preferable for a committer to just make the necessary changes?.

    2009-12-17 20:12:56 UTC in FreeMarker

  • Change NaN rendering for doubles

    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