Re: formating numeric string from variable
mahendrapathe <[email protected]> Wed, 12 Aug 2015 02:39:17 -0700 (PDT)
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
I found that before using the attribute we have to use
<#setting number_format="0.##">
${attribute?number}
it will rounded the attribute with precision with 2.
You can use nos of # to get your precision
Regards
Mahendra Pathe
--
View this message in context: http://freemarker.624813.n4.nabble.com/formating-numeric-string-from-variable-tp1012376p4655541.html
Sent from the freemarker-user mailing list archive at Nabble.com.
------------------------------------------------------------------------------