RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Math.DegToRad Function

Returns the value of a degree measurement expressed in radians.

Pascal
function DegToRad(const Degrees: Extended): Extended;
C++
Extended DegToRad(const Extended Degrees);

Math

Use DegToRad to convert angles expressed in degrees to the corresponding value in radians, where 

radians = degrees(pi/180). 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!