Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
How do I convert an integer to a string in Java? For example, if I have the integer 10, I want the string to become “10.” Basically, I want to know what Java's equivalent of the itoa function in C is.
Summary: why dont u try itoa fn?it is an inbuilt function which converts an integer to a string.the function format is itoa(integer,string pointer,base) .here the base is usually 10 because u want it in decima...
Summary: I am having problems getting a long integer to convert to a string. This is the sort of setup I'm trying to use: char test[10]; sprintf(test,"%l",fsize); I can't get this to work ...