อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


Single.Cos(Single) Method

Definition

Computes the cosine of a value.

C#
public static float Cos(float x);

Parameters

x
Single

The value, in radians, whose cosine is to be computed.

Returns

The cosine of x.

Implements

Remarks

This computes cos(x).

Applies to

ผลิตภัณฑ์ เวอร์ชัน
.NET 7, 8, 9, 10