Double db = new Double(<String>);
double num = db.doubleValue() ;
Birendar Singh Waldiya
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
"Mike Curwen"
<[EMAIL PROTECTED]>
21-05-04 04:23 AM
|
|
I highly recommend
http://saloon.javaranch.com/
for java programming questions.
> -----Original Message-----
> From: soh_mah [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 20, 2004 4:49 PM
> To: Tomcat Users List
> Subject: Conversion of String value to Double...
>
>
> Hi all
>
> I have a basic problems in JSP.
>
> How can I convert a String value into double, Like
>
> String a="0.2345";
> double b=0;
>
> I need to assign the value of variable a into varuble
> b, How can I do that.
>
> Thanks in advance for ur help!!!!!!
>
>
>
>
> =====
> Regards
>
> Sohail Mahmood
> (416) 636-2553
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Domains - Claim yours for only $14.70/year
> http://smallbusiness.promotions.yahoo.com/offe> r
>
>
>
> ---------------------------------------------------------------------
> 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]
ForwardSourceID:NT0000A2EA
DISCLAIMER: The information contained in this message is intended only and solely for the addressed individual or entity indicated in this message and for the exclusive use of the said addressed individual or entity indicated in this message (or responsible for delivery of the message to such person) and may contain legally privileged and confidential information belonging to Tata Consultancy Services. It must not be printed, read, copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person other than the addressee. Unauthorized use, disclosure or copying is strictly prohibited and may constitute unlawful act and can possibly attract legal action, civil and/or criminal. The contents of this message need not necessarily reflect or endorse the views of Tata Consultancy Services on any subject matter. Any action taken or omitted to be taken based on this message is entirely at your risk and neither the originator of this message nor Tata Consultancy Services takes any responsibility or liability towards the same. Opinions, conclusions and any other information contained in this message that do not relate to the official business of Tata Consultancy Services shall be understood as neither given nor endorsed by Tata Consultancy Services or any affiliate of Tata Consultancy Services. If you have received this message in error, you should destroy this message and may please notify the sender by e-mail. Thank you.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]