This command is used to get the sine conversion of a number.
value − The value as an input to the sine function.
This method returns the sine value of the input-ed number.
/* Main program */ say sin(45)
When we run the above program we will get the following result.