Do you have your terminology correct? (degree, minutes, seconds or DMS)
A degree is 1/360 of a circle, a degree is split into 60 minutes, and a
minute is split into 60 seconds. The single quote normally is for
minutes and the double quote for seconds.
As far as how you asked your question goes, Malik provided solution.