Convert DMS to Decimal Degrees (DD):
\[ \text{Decimal Degrees} = \text{Degrees} + \frac{\text{Minutes}}{60} + \frac{\text{Seconds}}{3600} \]
Convert Decimal Degrees (DD) to DMS:
\[ \text{Degrees} = \text{Integer part of DD} \]
\[ \text{Minutes} = \text{Integer part of } ((\text{DD} - \text{Degrees}) \times 60) \]
\[ \text{Seconds} = ((\text{DD} - \text{Degrees}) \times 60 - \text{Minutes}) \times 60 \]