Number format error in free marker
Kunal <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I am doing some computation in freemarker. I am getting the the value from
the requestParameters. for eg.
[#if RequestParameters.offset??]
[#assign offset = RequestParameters.offset?number]
[#else]
[#assign offset = 0]
[/#if]
this offset can grow up to a large value. However, FM adds a separator if it
goes beyond 999.
So 1000 becomes 1,000.
I tried using ?c but that did not work either.
Is there any number format setting that I can do so that I can tell FM no to
add any separator?
Thanks
--
View this message in context: http://n4.nabble.com/Number-format-error-in-free-marker-tp961553p961553.html
Sent from the freemarker-user mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev