- Home
·
- Math/Dates
·
- A simple code that converts Radians to Degrees and Degrees to Radians.
A simple code that converts Radians to Degrees and Degrees to Radians.
A simple code that converts Radians to Degrees and Degrees to Radians.
Rate A simple code that converts Radians to Degrees and Degrees to Radians.
(2(2 Vote))
'And 2 command buttons and leave the default name (Command1) as is.
'This is a code snippet for this activex control.
'This program converts the angle measurements of Degrees to Radians and Back.
'Type the code in and enjoy the mini activex control (or you can make the Standard Exe)
''Lock the text fields: Text2 and Text4 to prevent errors.
'Mail Me at [email protected]
Private Sub Command1_Click()
Text2.Text = Text1.Text * 3.141592648 / 180
End Sub
Private Sub Command2_Click()
Text4.Text = Text3.Text * 180 / 3.141592648
End Sub
A simple code that converts Radians to Degrees and Degrees to Radians. Comments
No comments yet — be the first to post one!
Post a Comment