ToRadians

Converts an angle specified in degrees to radians.

Syntax

Rhino.ToRadians (dblDegrees)

Parameters

dblDegrees

Required.  Number.  The angle in degrees

Returns

Number

The angle in radians if successful.

Null

On error.

Example

Dim dblDegrees

dblDegrees = 45.0

Rhino.Print Rhino.ToRadians(dblDegrees)

Also See

ToDegrees