vendor/bundle/ruby/2.7.0/gems/dnsruby-1.61.5/lib/dnsruby/resource/LOC.rb
# Returns the latitude and longitude as floating-point degrees.
# Positive numbers represent north latitude or east longitude;
# negative numbers represent south latitude or west longitude.
# 
#     lat, lon = rr.latlon
#     system("xearth", "-pos", "fixed #{lat} #{lon}")
# 
Returns the latitude and longitude as floating-point degrees.
Positive numbers represent north latitude or east longitude;
negative numbers represent south latitude or west longitude.


Returns the latitude and longitude as floating - point degrees . Positive numbers represent north latitude or east longitude ; negative numbers represent south latitude or west longitude .
def latlon
        retlat, retlon = nil
        if (@version == 0)
          retlat = latlon2deg(@latitude);
          retlon = latlon2deg(@longitude);
        end
        return retlat, retlon
      end
def latlon retlat , retlon = nil if ( @version == 0 ) retlat = latlon2deg ( @latitude ) ; retlon = latlon2deg ( @longitude ) ; end return retlat , retlon end
Returns the latitude and longitude as floating-point degrees.
Returns the latitude and longitude as floating - point degrees .