VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



A simple code that converts Radians to Degrees and Degrees to Radians.

by Jamal 331 (5 Submissions)
Category: Math/Dates
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 2nd January 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)

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.



'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

Download this snippet    Add to My Saved Code

A simple code that converts Radians to Degrees and Degrees to Radians. Comments

No comments have been posted about A simple code that converts Radians to Degrees and Degrees to Radians.. Why not be the first to post a comment about A simple code that converts Radians to Degrees and Degrees to Radians..

Post your comment

Subject:
Message:
0/1000 characters