Method

Xojo.Math.Tan


Warning

This item was deprecated in version 2020r2. Please use Tan as a replacement.

Description

Returns the tangent of the specified value.

Sample code

Calculate the tangent:

Using Xojo.Math

Const Pi = 3.14159
Dim d As Double
d = Tan(45 * Pi / 180) ' d = 1.0 which is the tangent of a 45 degree angle

Compatibility

All project types on all supported operating systems.