Batt meter

Puts me back on with the reading but stops at 4.66v.
Am i missing something?

 int getBandgap(void) // Returns actual value of Vcc (x 100) 415 = 4.15v
{
   int raw = analogRead(15);
   int results = map(raw,0,1096,0,500);  // scale voltage to 0-500
   float myfloat;
   float sensorCalbrate = 1.000000; 
   int battv=results;
   int temp=battv;
   int x;
   int y;
   float z;
   float batteryV;
   x = battv;
   y = 100.00;   
   // y now contains 0, ints can't hold fractions
   z = (float)x / y;   // z now contains .5 (you have to use 2.0, not 2)
   batteryV=z*sensorCalbrate;
    temp = (batteryV*100);
    battv== (int) temp ; // now i is 3
   battv=temp;
   results=temp; 
  return results;
 
}