Sonar sensor to arduino to servo

What are you getting printed from this?

    Serial.println(ranges [i]);