Template:Coord/prec dec/doc

This template, Coord/prec dec, returns "d", "dm", or "dms", given two decimal WG84 coordinates.