I am currently crearting a program with a lot of conversions IE:
I am fully aware that a string literal "1" is equal to 49 or something in terms of integers. But, if I assinged the value of the string to whatever an integer 1 is, then when I bring it back to an integer it sould remain a 1 correct?Code:client c = (client); String[] X = getIntegerValuesOf(x); String[] Y = getIntegerValuesOf(y); String[] objectID = getIntegerValuesOf(objID); String[] objOrientation = getIntegerValuesOf(orientation); String aX = String.valueOf(X); String aY = String.valueOf(Y); String iD = String.valueOf(objectID); String objO = String.valueOf(objOrientation); int absX = Integer.valueOf(aX).intValue(); int absY = Integer.valueOf(aY).intValue(); int obJOrientation = Integer.valueOf(objO).intValue(); int obJID = Integer.valueOf(iD).intValue();


Reply With Quote
Bookmarks