System.Math.RadToDeg
Delphi
function RadToDeg(const Radians: Single): Single; { Degrees := Radians * 180 / PI }
function RadToDeg(const Radians: Double): Double; { Degrees := Radians * 180 / PI }
function RadToDeg(const Radians: Extended): Extended; { Degrees := Radians * 180 / PI }
C++
extern DELPHI_PACKAGE float __fastcall RadToDeg(const float Radians)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Math.pas System.Math.hpp |
System.Math | System.Math |
Description
Converts radians to degrees.
Use RadToDeg to convert angles measured in radians to degrees, where
degrees = radians(180/pi).