User:Saintrain/A/HMS2Deg

Usage:.

This template returns an hour angle, given in hours|minutes|seconds, in decimal degrees.

So returns 12:29:06.7.

Only parameter p is optional (defaults to 6).