User:Saintrain/A/DEC

&deg; &prime; &deg;

Usage:.

Formats a declination angle (expressed in degrees, minutes and seconds), and in decimal degrees.

So displays as  and  displays as

The third parameter, seconds, is optional. The optional fourth parameter, p(recision), sets number of decimals to display (defaults to 5).