src/Geolite/Distance.php
public function convertToUserUnit($meters)
    {
        switch ($this->unit) {
            case Geolite::KILOMETER_UNIT:
                return $meters / 1000;
            case Geolite::MILE_UNIT:
                return $meters / Geolite::METERS_PER_MILE;
            case Geolite::FOOT_UNIT:
                return $meters / Geolite::FEET_PER_METER;
            default:
                return $meters;
        }
    }
public function convertToUserUnit($meters)
    {
        switch ($this->unit) {
            case Geolite::KILOMETER_UNIT:
                return $meters / 1000;
            case Geolite::MILE_UNIT:
                return $meters / Geolite::METERS_PER_MILE;
            case Geolite::FOOT_UNIT:
                return $meters / Geolite::FEET_PER_METER;
            default:
                return $meters;
        }
    }
Converts results in meters to user's unit (if any).
The default returned value is in meters.

@param double $meters

@return double