tan()

Deprecated in 5.0.

Please use Math::Tan instead.

tan(x): float

Calculates tangent x

Table 1. Parameters

x

Float

Angle in radian

Return

Result of tangent for this angle

print(tan(0.5)); //will print 0.546302