Try:
double price = new Double("30.6235").doubleValue();
AA
-----Original Message-----
From: raj [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, September 01, 1999 4:06 PM
To: [EMAIL PROTECTED]
Subject: parsing double value
Hi,
How do I parse double value?
eg: for long value
long priceval =Long.parseLong(req.getParameter("price"));
Thanks
-raj-
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html