DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   JSP (http://www.daniweb.com/forums/forum24.html)
-   -   Number Formatting in JSP (http://www.daniweb.com/forums/thread123100.html)

Sandeep_12in May 8th, 2008 12:20 am
Number Formatting in JSP
 
Below is the code in Jsp

out.println("<td>" + rset.getInt("Credit_Limit") + "</td>");
out.println("<td>" + rset.getInt("Curr_Os") + "</td>");
out.println("<td>" + rset.getInt("Per_Utilised") + "</td>");

I want to have "Credit_Limit" & "Curr_Os" dispalyed as 1,23,000

While "Per_Utilised" as 12%

jwenting May 8th, 2008 10:01 am
Re: Number Formatting in JSP
 
that's not JSP, that's what we wrote in servlets around 1998 and quit writing when JSP 0.9 came around a year later.
Noone in his right mind does things like that any more.


All times are GMT -4. The time now is 5:05 pm.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC