I've heard of this happening in other situations too such as data from SQL and Oracle. The ugly approach is to add a hard space to create a string (i.e., something akin to and not just empty quotes with a space) but, may or may not work. I seem to remember that formatting the entire number, not just the decimal values did the trick and definitely the preferred approach. Not sure it will work but not seeing all the related code makes it impossible to know for sure.
Tom -----Original Message----- From: Roger Burton West [mailto:ro...@firedrake.org] Sent: Monday, August 08, 2011 12:07 PM To: html-template-users@lists.sourceforge.net Subject: Re: [htmltmpl] How to Keep Trailing 0 in Outuput On Mon, Aug 08, 2011 at 02:38:42PM +0000, Wei, Alice Ju-Hsuan wrote: >The first 5 displayed as it is above, but the 6th one was displayed as 4435.8. How can I keep the print out as it is on html-plate? Here is what I have in the html-template call: There's nothing in HTML::Template that should mess around with values in this way. Can you supply a minimal test case? (I.e. the fewest possible lines of code that demonstrate the problem, including everything that we need to reproduce it.) Roger ---------------------------------------------------------------------------- -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ Html-template-users mailing list Html-template-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/html-template-users ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Html-template-users mailing list Html-template-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/html-template-users