ATAN (SQL Server Compact)

Devuelve el ángulo en radianes cuya tangente es la expresión float especificada. También se conoce como arco tangente.

Sintaxis

ATAN ( float_expression )

Argumentos

  • float_expression
    Expresión del tipo float o de tipos que se puedan convertir implícitamente al tipo float.

Valor devuelto

float

Ejemplo

El ejemplo siguiente devuelve el arco tangente de la tangente de diversos ángulos.

CREATE TABLE Atangent ("TAN(0)" float, "TAN(PI()/6)" float, "TAN(PI()/4)" float, "TAN(PI()/3)" float, "TAN(PI()/2)" float);

INSERT INTO Atangent VALUES (TAN(0), TAN(PI()/6), TAN(PI()/4), TAN(PI()/3), TAN(PI()/2));

SELECT ATAN("TAN(0)"), ATAN("TAN(PI()/6)"), ATAN("TAN(PI()/4)"), ATAN("TAN(PI()/3)"), ATAN("TAN(PI()/2)")FROM Atangent;