Yes, that worked - thanks!
-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 7:46 AM
To: Tomcat Users List
Subject: RE: OT JSP/Java data type conversion
Howdy,
>Sorry for the off topic post, but this is driving me crazy. How can I
>convert a String data type to a BigDecimal data type? I'm reading a
>request.getResponse('userId") and need to convert to a BigDecimal for
>insertion into a database.
Does
String paramValue = request.getParameter("userId");
BigDecimal bd = new BigDecimal(paramValue)
work for you?
Yoav Shapira
This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged. This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else. If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender. Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]