Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
Class
System.Math Syntax
Dim result As Double = Math.Cos (d)
Description
The Cos function returns the cosine of an angle, the ratio of the length of the side adjacent to the angle divided by the length of the hypotenuse, in the range of -1 to 1 inclusive. Usage at a Glance
Version Differences
In VB 6, Cos is an intrinsic VB function. In the .NET platform, it is a member of the System.Math class and not directly part of the VB language. See Also
Cosh Function, Sin Function, Tan Function |
Категории