Android Question bad result for tan of 30

kingram

New Member
Hi. I am making calculator and i have problem with this. When i want to get result of Tan(30) i get -6.40533... . But i should get 0.57..... .


Code:



Sub tanj_Click

shower.Text = Tan(30)

End Sub
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
SS-2017-09-11_08.28.24.png


Check the second sentence above.

You should use TanD.
 
  • Like
Reactions: eps
Upvote 0
Top