Re: formating numeric string from variable

lcp <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
This was the problem - Geoserver apparently sends out numeric variables as
strings. I fixed this with the Number function to convert strings to
numbers.

${attribute.value?number?round}%

Lela
-- 
View this message in context: http://n4.nabble.com/formating-numeric-string-from-variable-tp1012376p1690014.html
Sent from the freemarker-user mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.