Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem while Getting the value from database.

843840Jan 19 2009 — edited Aug 3 2009
The problem i was facing is when try to get the values from the database like

suppose if row value in table is 9000000(90 lakhs) this value i am getting from the database and showing in the jsp as 9000000(90 lakhs).It is Ok. But the problem is if the value is 10000000(1 Crore) this value i am getting from the database and showing in the jsp as 1.0E7.similarly 20000000(2 Crores) showing in the jsp as 2.0E7

If the value is in Crores in database table means i am getting as 1.0E7 in jsp but i want to show it in jsp as 10000000 (1 Crore) like this.
How can i convert 1.0E7 to 10000000(1 Crore)

can anybody give me the solution for the above problem.Thanks in advance........

Regards,
Naresh.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 31 2009
Added on Jan 19 2009
5 comments
856 views