DTOR( ) Function

Example   See Also

Converts degrees to radians.

Syntax

DTOR(nExpression)

Returns

Numeric

Arguments

nExpression

Specifies the numeric expression whose value you want to convert to radians. An angle expressed in a degree:minute:second format should be converted to its decimal equivalent.

Remarks

DTOR( ) converts the value of a numeric expression given in degrees to an equivalent value in radians. DTOR( ) is useful for working with the Microsoft Visual FoxPro trigonometric functions: ACOS( ), ASIN( ), COS( ), SIN( ), TAN( ).

Use RTOD( ) to convert radians to degrees.