Advertisement

07.23.2008 at 12:44PM PDT, ID: 23589885
[x]
Attachment Details

How do I convert an int to hex, and get the HEX as a String?

Asked by richardsimnett in Java Programming Language

I tried:

Long.toHexString(new Long(m.eid).longValue())

but it doesnt seem to work.

m.eid is a string representing a long integer value.

Worth 500 points.

Thanks,
RickStart Free Trial
 
Keywords: How do I convert an int to hex, and g…
 
Loading Advertisement...
 
[+][-]07.23.2008 at 12:51PM PDT, ID: 22073125

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 12:55PM PDT, ID: 22073171

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Java Programming Language
Sign Up Now!
Solution Provided By: Affiliated_IT
Participating Experts: 3
Solution Grade: A
 
 
[+][-]07.23.2008 at 12:55PM PDT, ID: 22073181

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 12:56PM PDT, ID: 22073184

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 12:57PM PDT, ID: 22073191

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 12:58PM PDT, ID: 22073204

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 01:02PM PDT, ID: 22073247

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628