aspose file tools
The moose likes Beginning Java and the fly likes convert string to primitive integer Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "convert string to primitive integer" Watch "convert string to primitive integer" New topic
Author

convert string to primitive integer

chinna talluru
Greenhorn

Joined: Jul 23, 2006
Posts: 24
anyone helps me how to convert String data type primitive integer
data type
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458


Code depot of a Java EE / JSF developer | JSF / Eclipse / Tomcat kickoff tutorial | DAO kickoff tutorial | I ♥ Unicode
Edwin Dalorzo
Ranch Hand

Joined: Dec 31, 2004
Posts: 961
Another options could be:



Or simply, if you are using JDK 1.5



Another way could be:


[ October 09, 2006: Message edited by: Edwin Dalorzo ]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: convert string to primitive integer
 
Similar Threads
casting confusion
Can we do this?
Wrapper's String Constructor
polymorphism and casting in java??????
int to float conversion