0
Esta plantilla convierte un ángulo horario , expresado en formato horas : minutos : segundos , a grados decimales .
{{HMS2Deg|hours|minutes|seconds|p=precision|sup=superscript}}
.
Se requiere el valor de horas . Los minutos , segundos , parámetro p y parámetro sup son todos opcionales y los valores predeterminados son 0, 0, 6 y <null>, respectivamente. Para incluir el símbolo de grado °
, agregue cualquier texto a |sup=
.
Por ejemplo:
{{HMS2Deg|12|29|06.7|p=5|sup=y}}
devuelve 187,27792°. {{HMS2Deg|12|p=5}}
devuelve 180. {{HMS2Deg|12}}
devuelve 180.