RTOD( ) Function

Example   See Also

Converts radians to degrees.

Syntax

RTOD(nExpression)

Returns

Numeric

Arguments

nExpression

Specifies the numeric expression representing radians that RTOD( ) converts to degrees.

Remarks

RTOD( ) converts the value (in radians) of a numeric expression to an equivalent value in degrees.

RTOD( ) is useful for working with the Visual FoxPro trigonometric functions COS( ), SIN( ), and TAN( ).

Use DTOR( ) to convert degrees to radians.