SIN function [Numeric]

Returns the sine of a number.

Syntax
SIN( numeric-expression )
Parameters
  • numeric-expression   The angle, in radians.

Returns

DOUBLE

Remarks

The SIN function returns the sine of the argument, where the argument is an angle expressed in radians. The SIN and ASIN functions are inverse operations.

This function converts its argument to DOUBLE, performs the computation in double-precision floating point, and returns a DOUBLE as the result.

See also
Standards and compatibility
  • SQL/2003   Vendor extension.

Example

The following statement returns the SIN value of 0.52.

SELECT SIN( 0.52 );