Calculate the tangent of the argument. (answer in radians)
n - the value (converted to a double) to apply this function to.
A double scalar.
$value = tan(2); println("tanget of 2 radians is $tanget"); $value = tan(radians(2)); println("tanget of 2 degrees is $tanget");
tanget of 2 radians is tanget of 2 degrees is