Have you tried specifying your field as a String in the action form?  That
way when you initialize it, you can make sure it's formatted correctly...

-----Original Message-----
From: Cathy Osekizoglu [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 7:35 PM
To: Struts Users Mailing List
Subject: Re: display big data using bean:write



 Does bean:write tag automatically format 100000000099 to 1.00000000099E11.
How can I have the number displayed as 100000000099 instead of
1.00000000099E11? Please help me!
Thanks!
  Cathy Osekizoglu <[EMAIL PROTECTED]> wrote: 
Hi,

I got a big data(amount) from DB. For example, 100000000099(float type). In
my jsp, I use bean:write to display the data. But it displays
1.00000000099E11.

I am required to display it the same way as it in DB, which is 100000000099.
Does any one know how to do it? I am using struts1.1.

Thank you for your reply.

Cathy



---------------------------------
Post your free ad now! Yahoo! Canada Personals



---------------------------------
Post your free ad now! Yahoo! Canada Personals

Reply via email to