Displaying temperature and pressure at the same time using java

  long a =1023 - analogRead(analogPin);
   float sensor1 = beta /(log((1025.0 * 10 / a - 10) / 10) + beta / 298.0) - 273.0;

I hope a never equals 10.