Private Sub Command1_Click()
Dim x As Double, dfm As String
x = CDbl(InputBox("please enter a degree for trans ;", "INFO", "120.375"))
dfm = x & "°=" & Int(x) & "°"
x = (x - Int(x)) * 3600
dfm = dfm & Format(TimeSerial(0, 0, x), "nn′ss″")
MsgBox dfm
End Sub