<-- Previous || Up || Next -->

Degrees To Radians Function
Math Reals Class

Public Function DegreesToRadians( _
    ByVal vX As Variant _
    ) As Variant

Converts degrees to radians.

Examples:
    DegreesToRadians(-45) = -0.785398163397448
    DegreesToRadians(0) = 0
    DegreesToRadians(45) =  0.785398163397448
    DegreesToRadians(90) =  1.5707963267949
    DegreesToRadians(180) =  3.14159265358979
    DegreesToRadians(360) =  6.28318530717959
    DegreesToRadians(720) = 12.5663706143592
See also:
    DegreesToRadiansVerify Subroutine
    RadiansToDegrees Function
vX: Real number representing an angular measurement in degrees. Function returns Null if vX is Null or cannot be fixed up to a number.

Definition:

    Radians = Degrees * Pi / 180

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.