Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
 
 
 
500MB 27GB Web Hosting - $9.95/Month
 
 
 
 
 
Old Pages
 
Old Index
Site Map
What's New
 
Books
How To
Tips & Tricks
Tutorials
Stories
Performance
Essays
Links
Q & A
New in VB6
Free Stuff
Pictures
 
 
 
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-2003 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated