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 */;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.Math.pas System.Math.hpp |
System.Math | System.Math |
Description
Convertit des radians en degrés.
Utilisez RadToDeg pour convertir les angles de radians en degrés, où
degrés = radians(180/pi).