Afficher : Delphi
C++
Préférences d'affichage
System.Math.RadToDeg
De XE2 API Documentation
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 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).