ACOS
Syntax
%%{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))
Doel
De SQL-functie ACOS geeft de hoek van de opgegeven cosinus terug.
Zie ook COS.
Parameters:
- Invoer (
decimal): de cosinus waarvan de hoek moet worden bepaald.
Retourneert: een getal dat de hoek van de opgegeven cosinus voorstelt als decimal.
Voorbeelden
ACOS haalt de hoek op van de cosinus 1:
select acos(1)
--------
0
ACOS haalt de hoek op van de cosinus 0, afgerond op vier decimalen:
select round(acos(0), 4)
--------
1.5708