java - method to convert from a string to an int -


possible duplicate:
converting string int in java

i trying write method returns int string variable. method is:

public int returnint(string s) { } 

you can use integer.valueof(string) this


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -