.tan

Description

Tan is a method that returns the tangent of its input value.

Parameters

Tan takes no parameters

Usage On Numbers

num = 90.tan()
// the input value is in degrees
// this does the tangent of 90 degrees, not the tangent of 90 radians

log num
// returns 1.6331239e+16

Last updated

Was this helpful?