math.tan() function
The math.tan()
function returns the tangent of the radian argument x
.
Output data type: Float
import "math"
math.tan(x: 3.14)
// Returns -0.001592654936407223
Parameters
x
The value used in the operation.
Special cases
math.tan(x: ±0) // Returns ±0
math.tan(x: ±Inf) // Returns NaN
math.tan(x: NaN) // Returns NaN
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for Flux and this documentation. To find support, use the following resources:
InfluxDB Cloud customers can contact InfluxData Support.