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!

How to multiply in JSP?

843833Aug 30 2001 — edited Aug 30 2001
I need to do the following:
Total = dblProductPrice * strQuantity.

Can anyone provide the code as I have all sorts of conversion problem in doing this. Thanks.

<%
Number dblProductPrice=(Number) session.getAttribute("prodPrice");
String strQuantity=request.getParameter("quantity");
%>
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 27 2001
Added on Aug 30 2001
1 comment
211 views