hi, i cant get the trigonometric functions to work... i tried almost everything but it seems that i cant even get the most simpliest things to work... :/
i need sin, cos, tan, aswell as the inverse functions arcsin, arccos and arctan, the numbers are typed into a textbox.
the sin, cos and tan functions are already working
Private Sub sin_Click()
TextBox = Math.sin(Val(TextBox))
End Sub
but i only get the results in radians and i want them in degrees, too. i tried the convertion with 180/pi but that seems wrong (other results in windows calc for example)
a much bigger problem is that inverse sin and cos arent working at all while inverse tan works perfectly (even radians to degrees)
i tried the worksheetfunctions and own functions like arcsin(x) as double but i dont get any results if the number isnt negative and the worksheetfunctions dont work at all...
can anyone help me, please?
Bookmarks