How to transform a variable of the type «String» to the integer?
1
Expert's answer
2010-09-15T12:16:09-0400
You have to use the class «Integer», call the method «parseInt», as the parameter pass the string value or string variable. But you have to be ready for the exception (if it is impossible), which should be processed properly.
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment