vb.net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aung cho
    New Member
    • Feb 2022
    • 2

    #1

    vb.net

    I get to answer by calculator value in vb.net
    sin (23.45) = -0.9937407101726 6
    in calculator 0.39794863
    I want to get 0.39794863
    how can i write for this
    but i used degree to radian equation * 180 /PI
  • SioSio
    Contributor
    • Dec 2019
    • 272

    #2
    Code:
    		Dim x As Double
    		Dim Degrees As Double
    		Degrees = 23.45
    		x = Math.Sin((Math.PI / 180.0) * Degrees)

    Comment

    Working...