Results 1 to 10 of 10
- 04-06-2012, 03:08 PM #1
Member
- Join Date
- Apr 2012
- Posts
- 5
- Rep Power
- 0
- 04-06-2012, 03:47 PM #2
Re: How do i convert a stirng with a hexdecimal into an integer?
Moved from JDBC. Whatever made you think that was a suitable section to post this?
Doesn't make sense. You want to convert a String to a String? It's already a String.converting a string with a hexdecimal(00ff00) into a string.
If, following your topic line, what you really want to do is obtain an int value from a hexadecimal String representation, take a look at the methods of the Integer class.
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 04-06-2012, 04:06 PM #3
Member
- Join Date
- Apr 2012
- Posts
- 5
- Rep Power
- 0
Re: How do i convert a stirng with a hexdecimal into an integer?
Sorry i mistyped and yes i meant it to be int.
This is what made me think JDBC was the right section http://www.java-forums.org/jdbc/3707...ut-string.html
It's the same errorLast edited by Niko_; 04-06-2012 at 04:09 PM. Reason: added more content to the post
- 04-06-2012, 05:20 PM #4
Re: How do i convert a stirng with a hexdecimal into an integer?
That was an old thread from a period when the forum had less moderators.
I've moved that one too. Thank you for the link.
Did you find the method you need in the Integer API?
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 04-06-2012, 05:47 PM #5
Member
- Join Date
- Apr 2012
- Posts
- 5
- Rep Power
- 0
Re: How do i convert a stirng with a hexdecimal into an integer?
Np and i haven't found it yet. I'm still new to java :)
- 04-06-2012, 07:04 PM #6
Re: How do i convert a stirng with a hexdecimal into an integer?
Did you find the API for Integer?
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 04-06-2012, 08:43 PM #7
Member
- Join Date
- Apr 2012
- Posts
- 5
- Rep Power
- 0
Re: How do i convert a stirng with a hexdecimal into an integer?
No i have been looking for it on google and in JRE System Lib in eclipse
Last edited by Niko_; 04-06-2012 at 08:44 PM. Reason: fixed misspelling
- 04-06-2012, 08:50 PM #8
Re: How do i convert a stirng with a hexdecimal into an integer?
Here is an API link:
Java Platform SE 6
Find the name of the class in the lower left and click it for the doc to be shown in the main windowIf you don't understand my response, don't ignore it, ask a question.
- 04-06-2012, 08:52 PM #9
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,601
- Blog Entries
- 7
- Rep Power
- 17
Re: How do i convert a stirng with a hexdecimal into an integer?
When people rob a bank they get a penalty; when banks rob people they get a bonus.
- 04-06-2012, 08:53 PM #10
Member
- Join Date
- Apr 2012
- Posts
- 5
- Rep Power
- 0
Similar Threads
-
How to convert integer to String
By mCoder in forum New To JavaReplies: 2Last Post: 12-27-2011, 04:00 AM -
convert integer to double
By himanwish in forum New To JavaReplies: 4Last Post: 03-17-2011, 01:55 AM -
convert unsigned integer to signed integer in java?
By diskhub in forum New To JavaReplies: 6Last Post: 05-17-2010, 12:50 AM -
How to convert Integer[] to int[]
By Nithya in forum New To JavaReplies: 26Last Post: 02-11-2010, 05:41 PM -
how to convert a string to an integer
By LAW in forum New To JavaReplies: 6Last Post: 11-09-2009, 03:29 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks