sin function

Converts x to a double and returns the sine of the value.

double sin(
num x
)

Converts x to a double and returns the sine of the value.

If x is not a finite number, the result is NaN.