Rexx - sin Command



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

Syntax

sin(value)

Parameters

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

Return Value

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

Example

/* Main program */ 
say sin(45)

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

Output

0.85090352 
rexx_brexx.htm
Advertisements