Click or drag to resize

MathHelperToDegrees Method

Converts radians to degrees.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public static float ToDegrees(
	float radians
)

Parameters

radians
Type: SystemSingle
The angle in radians.

Return Value

Type: Single
The angle in degrees.
Remarks
This method uses double precision internally, though it returns single float Factor = 180 / pi
See Also