tan 方法

返回数字的正切值。

Math.tan(number)

必选项 number 参数是要计算正切值的数值表达式

说明

返回值为 number 的正切值。

要求

版本 1

请参阅

sin 方法

应用于: Math 对象