Hey guys I'm working on some app for school that will be easier for my class to do homework and so on...
Well first of all i got app to convert Degrees, Minutes and Seconds to DECIMAL.
But now i need to get DECIMAL back to Degress, Minutes and Seconds, and i can't get it how to make it because I'm terrible with math formulas... Here is what i done so far:
Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click TextBox4.Text = TextBox1.Text + (TextBox2.Text * 1 / 60) + (TextBox3.Text * 1 / 60 * 1 / 60) End Sub End Class
Textbox1 - Degrees
Textbox2 - Minutes
Textbox3 - Seconds
Textbox4 - DECIMAL RESULT
So if anyone could help me?? Thank you!