Documentación de Invantiveparte de Invantive Cloud
Foros de Soporte de InvantiveIniciar Sesión / Registrarse

SIN

Sintaxis

%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart LR
    Start((START)) --> SIN[SIN]:::quoted
    SIN --> End((END))

Propósito

La función SQL SIN devuelve el seno del ángulo indicado.

Parámetros:

  • Datos de entrada (decimal): el ángulo del que se quiere calcular el seno.

Devuelve: un número que representa el seno del ángulo indicado.

Ejemplos

SIN calcula el seno del ángulo 0:

select sin(0)

--------
0

SIN calcula el seno del ángulo 1, redondeado a cuatro decimales:

select round(sin(1), 4)

--------
0.8415