Nachfolgend finden Sie eine vollständige Liste der mathematischen Funktionen, die in PostgreSQL verfügbar sind.
Diese sind in die folgenden vier Kategorien eingeteilt:
- Mathematische Funktionen
- Zufallsfunktionen
- Trigonometrische Funktionen
- Hyperbolische Funktionen
Mathematische Funktionen
abs()cbrt()ceil()ceiling()degrees()div()exp()floor()ln()log()mod()pi()power()radians()round()scale()sign()sqrt()trunc()width_bucket()
Zufallsfunktionen
random()setseed()
Trigonometrische Funktionen
Jede trigonometrische Funktion ist in zwei Varianten verfügbar; radiant- und gradbasiert.
Bogenmaß
acos()asin()atan()atan2()cos()cot()sin()tan()
Grad
acosd()asind()atand()atan2d()cosd()cotd()sind()tand()
Hyperbolische Funktionen
sinh()cosh()tanh()asinh()acosh()atanh()