Lompat ke isi

Templat:Coord/prec dec/dok

Dari Wikisumber bahasa Indonesia, perpustakaan bebas

This template, {{Coord/prec dec}}, returns "d", "dm", or "dms" to indicate the most appropriate display format for a latitude-longitude pair expressed in decimal degrees.

Usage

[sunting]

{{Coord/prec dec|lat|long}}

Examples

[sunting]
{{Coord/prec dec|99|1}} d


{{Coord/prec dec|99|1.2}} dm


{{Coord/prec dec|99|1.23}} dm


{{Coord/prec dec|99|1.234}} dms


{{Coord/prec dec|99|1.2345}} dms


{{Coord/prec dec|99|1.23456}} dms


{{Coord/prec dec|99|1.0}} dm


{{Coord/prec dec|99|1.00}} dm


{{Coord/prec dec|99|1.000}} dms


{{Coord/prec dec|99|1.0000}} dms


{{Coord/prec dec|99|1.00000}} dms