Documentation Invantiveune partie de Invantive cloud
Forums d'Invantive SupportConnectez-vous/inscrivez-vous

ACOS

Syntaxe

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

Objet

La fonction SQL ACOS renvoie l'angle dont le cosinus est fourni.

Voir également COS.

Paramètres :

  • Entrée (decimal) : le cosinus dont on veut obtenir l'angle.

Renvoie : un nombre représentant l'angle du cosinus fourni, exprimé en decimal.

Exemples

ACOS renvoie l'angle du cosinus 1 :

select acos(1)

--------
0

ACOS renvoie l'angle du cosinus 0, arrondi à quatre décimales :

select round(acos(0), 4)

--------
1.5708