One degree (º) is equal to 60 minutes (') and equal to 3600 seconds ("):
1º = 60' = 3600"
The integer degrees (d) are equal to the integer part of the decimal degrees (dd):
d = integer(dd)
The minutes (m) are equal to the integer part of the decimal degrees (dd) minus integer degrees (d) times 60:
m = integer((dd - d) × 60)
The seconds (s) are equal to the decimal degrees (dd) minus integer degrees (d) minus minutes (m) divided by 60 times 3600:
s = (dd - d - m/60) × 3600
Convert 30.263888889º angle to degrees,minutes,seconds:
d = integer(30.263888889º) = 30º
m = integer((dd - d) × 60) = 15'
s = (dd - d - m/60) × 3600 = 50"
So
30.263888889º = 30º 15' 50"