C#/XAML for HTML5 Documentation
C#/XAML for HTML5 Documentation
Reference
System
Math Class
Math Methods
Abs Method
Acos Method
Asin Method
Atan Method
Atan2 Method
Ceiling Method
Cos Method
Exp Method
Floor Method
IEEERemainder Method
Log Method
Log10 Method
Max Method
Min Method
Pow Method
Round Method
Sign Method
Sin Method
Sqrt Method
Tan Method
Truncate Method
Math
Cos Method
Returns the cosine of the specified angle.
Namespace:
System
Assembly:
mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
Copy
public
static
double
Cos
(
double
d
)
Parameters
d
Type:
System
Double
An angle, measured in radians.
Return Value
Type:
Double
The cosine of
d
. If
d
is equal to
NaN
,
NegativeInfinity
, or
PositiveInfinity
, this method returns
NaN
.
See Also
Reference
Math Class
System Namespace