Rexx - tan Command


This command is used to get the tangent conversion of a number.

Syntax

tan(value) 

Parameters

  • value − The value as an input to the tangent function.

Return Value

This method returns the tangent value of the input-ed number.

Example

/* Main program */ 
say tan(45)

When we run the above program we will get the following result.

Output

1.6197752 
rexx_brexx.htm
Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements