You could have Processing send the int as 2 bytes, and have the Arduino read the two bytes and reassemble the int. No need to convert to ASCII and back.
You could have Processing send the int as 2 bytes, and have the Arduino read the two bytes and reassemble the int. No need to convert to ASCII and back.