Math::Tan

Math::Tan(x): float

Calculates tangent of x.

Table 1. Parameters

x

number

Angle in radians

Return

Result of tangent for this angle

print(Math::Tan(0.5)); // Will print "0.546302"