Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter
 
 
MSDN Visual Basic Community
 
 
 
 
 
 
TitleCalculate sines and cosines in degrees
Keywordssince, cosine, trig, trigonometry
CategoriesAlgorithms
 
Make wrapper functions that convert into radians.
 
Private Const PI = 3.14159265

Public Function Cosine(ByVal degrees As Single) As Single
    Cosine = Cos(degrees * PI / 180)
End Function

Public Function Sine(ByVal degrees As Single) As Single
    Sine = Sin(degrees * PI / 180)
End Function
 
 
Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated