--- title: "signum()" slug: "math-sign" updated: 2025-11-13T12:59:53Z published: 2025-11-14T02:46:29Z canonical: "docs.lobstersoftware.com/math-sign" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # signum() Die mathematische Signum-Funktion. -1, wenn **a** < 0. 0, wenn **a** = 0. 1, wenn **a** > 0. ## Parameter | Parameter | Beschreibung | | --- | --- | | a | Numerischer Wert. | ## Beispiele | Parameter a | Ergebnis | | --- | --- | | -7 | -1 | | 0 | 0 | | 5 | 1 | | mystring | 0 (**Hinweis:** Es findet intern ein implizite Typ-Umwandlung jedes Strings in den numerische Wert 0 statt.) |