Displaying temperature and pressure at the same time using java

how? Just change the int sensor2 = (...) to long sensor2 = (...)?

Thank you so much for your help!!!