This template , , returns `` d '' , `` dm '' , or `` dms '' , given two decimal WG84 coordinates . This template , , returns `` d '' , `` dm '' , or `` dms '' to indicate the most appropriate display format for a latitude-longitude pair expressed in decimal degrees .