<< Prev        Next >>

ID : 230

DegRad

Function

To convert a value in angle unit of [Degree] into radian.

Syntax

DegRad(angle)

Guaranteed entry

Angle
Designate a value in angle unit of [Degree] by Double Precision Real Number Type data.

Return value

Return Double Precision Real Number Type data.

Description

A value in angle unit of [Degree] is converted into radian.

Related Terms

Arithmetic Function

Attention

-

Example

'!TITLE "Degree-Radian Conversion"
' Convert 90 degrees to radian
Sub Sample_DegRad

  Dim aaa As Single

  ' Assign a value converted from 90 degrees to radian to aaa
  aaa = DegRad( 90 )

  ' Display "1.5707" on the message output window
  PrintDbg aaa

End Sub

ID : 230

<< Prev        Next >>