VBA/Excel/Access/Word/Math Functions/Tan

Материал из VB Эксперт
Перейти к: навигация, поиск

Tan(number) returns The tangent of the angle specified by number (measured in radians).

   <source lang="vb">

Sub mathDemo16()

  Debug.Print tan(2)

End Sub

</source>
   
  


Tan() Returns the tangent of a number (radians).

   <source lang="vb">

Sub tanDemo()

   tan (3.14159265 / 4)

End Sub

</source>