Arduino Serial transmission problems

I am doing a project for a speedometer for a bike and I want the arduino to transmit to my iphone via the BLE shield for arduino for ios devices. The BLE seems to only be working in the new version of arduino, and besides, I would like to learn how to program in arduino 1.0.5 so I tryed my program from 1.0.1 in 1.0.5. In 1.0.1, I could transmit Serial data through Serial.write to the other arduino attached to the LCD very easily with Serial.write(currentMPH), or whatever. currentMPH is a float. my code is below, and when I try to compile I get an error "call of overloaded 'write(float&)' is amiguous". Please tell me why this is. 

thanks

 

#define SPINS_IN_MILE 768.0

int prevPinVal = HIGH;

int cycles = 0;

float timeHours = 0;

float distanceMiles = 0;

float currentMPH = 0;

float averageSpeedMPH = 0;

float lowTime = 0;

float rim = 206.25;

float startTime = 0;

float endTime = 0;

float distanceLeft = 0;

int timeOff = 0;

void setup() {

  pinMode(2, OUTPUT);

  digitalWrite(2, HIGH);

}

void loop() {

  int pinVal = digitalRead(2);

  if ((pinVal == LOW) && (prevPinVal == HIGH)) {

    endTime = millis();

    lowTime = endTime - startTime;

    ++cycles;

    timeHours = (millis()/3600000.);

    distanceMiles = (cycles*rim)/(30.0*528.0);

    currentMPH = (60.0)/((SPINS_IN_MILE)*(lowTime/60000.0)); 

    averageSpeedMPH = distanceMiles/timeHours;

    Serial.begin(9600);

    Serial.write(currentMPH);

    Serial.end();

    delay(10);

    Serial.begin(9600);

    Serial.write(averageSpeedMPH);

    Serial.end();

    delay(10);

    Serial.begin(9600);

    Serial.write(distanceMiles);

    Serial.end();

    delay (100);

    startTime = endTime;

  } 

  delay (1);

  prevPinVal = pinVal;

}

Thanks so much
Thanks so much