//
//  BaseTypes+Extensions.swift
//  ARKit+CoreLocation
//
//  Created by Ilya Seliverstov on 08/08/2017.
//  Copyright © 2017 Project Dent. All rights reserved.
//

import Foundation

public extension Float {
    var short: String { return String(format: "%.2f", self) }
}

public extension Int {
    var short: String { return String(format: "%02d", self) }
    var short3: String { return String(format: "%03d", self / 1_000_000) }
}

//
//  BaseTypes+Extensions.swift
//  ARKit+CoreLocation
//
//  Created by Ilya Seliverstov on 08/08/2017.
//  Copyright © 2017 Project Dent. All rights reserved.
//

import Foundation

public extension Double {

    /// Returns radians. Distance divided by the WGS-84 equatorial radius. Dubious geodesy.
    var metersToLatitude: Double {
        return self / (6_378_137.0)
    }

    /// Returns radians. Distance divided by the WGS-84 polar radius. Dubious geodesy; invalid except at equator.
    var metersToLongitude: Double {
        return self / (6_356_752.3)
    }
}

public extension Float {
    var short: String { return String(format: "%.2f", self) }
}

public extension Int {
    var short: String { return String(format: "%02d", self) }
    var short3: String { return String(format: "%03d", self / 1_000_000) }
}

--- 
+++ 
@@ -8,19 +8,6 @@
 
 import Foundation
 
-public extension Double {
-
-    /// Returns radians. Distance divided by the WGS-84 equatorial radius. Dubious geodesy.
-    var metersToLatitude: Double {
-        return self / (6_378_137.0)
-    }
-
-    /// Returns radians. Distance divided by the WGS-84 polar radius. Dubious geodesy; invalid except at equator.
-    var metersToLongitude: Double {
-        return self / (6_356_752.3)
-    }
-}
-
 public extension Float {
     var short: String { return String(format: "%.2f", self) }
 }
Remove unused/incorrect meters/angles conversion code.
