Tan
Function
Parameters
Return value
double d
double
Returns the tangent of the specified angle (d). The angle must be in radians.
Multiply by Math.PI / 180 to convert degrees to radians.
Example:
Tan(45 * Math.PI / 180) = 1