Chapter 8 SQL Functions
315
numeric-expression The sine of the angle.
The following statement returns the value 0.546850.
SELECT ASIN( 0.52 )
♦ SQL/92 Vendor extension.
♦
Sybase Compatible with Adaptive Server Enterprise.
"ACOS function" on page 313
"ATAN function" on page 315
"ATN2 function" on page 315
"SIN function" on page 365
ATAN function [Numeric]
Returns the arc-tangent, in radians, of a number.
ATAN (
numeric-expression
)
numeric-expression The tangent of the angle.
The following statement returns the value 0.479519.
SELECT ATAN( 0.52 )
♦ SQL/92 Vendor extension.
♦
Sybase Compatible with Adaptive Server Enterprise.
"ACOS function" on page 313
"ASIN function" on page 314
"ATN2 function" on page 315
"TAN function" on page 370
ATN2 function [Numeric]
Returns the arc-tangent, in radians, of the ratio of two numbers.
{ ATN2 | ATAN2 } (
numeric-expression1
,
numeric-expression2
)
numeric-expression1 The numerator in the ratio whose arc tangent is
calculated.
numeric-expression2 The denominator in the ratio whose arc-tangent is
calculated.
The following statement returns the value 0.008666.
Parameters
Examples
Standards and
compatibility
See also
Function
Syntax
Parameters
Examples
Standards and
compatibility
See also
Function
Syntax
Parameters
Examples