long --> String myStringVariable = String.valueOf(myLongVariable);
String --> long myLongVariable = Long.parseLong(myStringVariable); Emma SystemSpecs Lagos - Nigeria -----Original Message----- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Means, Garann R. Sent: Tuesday, June 25, 2002 11:28 PM To: [EMAIL PROTECTED] Subject: Re: data type conversion long --> String myStringVariable = Long.toString(myLongVariable); String --> long myLongVariable = Long.parseLong(myStringVariable); g. -----Original Message----- From: Carol Geng [mailto:[EMAIL PROTECTED]] Sent: June 25, 2002 - Tuesday 2:15p To: [EMAIL PROTECTED] Subject: data type conversion Hi All, Anybody would like to tell me how to convert a long data type to a string and convert a string to a long data type again? thanks, Carol =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
