JavaScript: The Definitive Guide

24.126. Math.tan( ): compute a tangent

ECMAScript v1

24.126.1. Synopsis

Math.tan(x)

24.126.1.1. Arguments

x

An angle, measured in radians. To convert degrees to radians, multiply the degree value by 0.017453293 (2π/360).

24.126.1.2. Returns

The tangent of the specified angle x.

Категории