--- title: "cosine of angle or radiant()" slug: "math-cosine" updated: 2025-11-13T06:55:26Z published: 2025-11-14T02:46:29Z canonical: "docs.lobstersoftware.com/math-cosine" --- > ## 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. # cosine of angle or radiant() Diese Funktion liefert den Kosinus von Winkel **a**. ## Parameter | Parameter | Beschreibung | | --- | --- | | a | Winkel in Grad oder Bogenmaß, siehe **b**. | | b | *true*, falls **a** in Bogenmaß. *false*, falls **a** in Grad. Default: *false*. | ## Beispiele **Hinweis:** *Datentyp* auf dem Feld, auf dem diese Funktion verwendet wurde: *Double*. | Parameter a | Parameter b | Ergebnis | | --- | --- | --- | | 180 | false | -1.0 | | 3 | true | -0.9899924966004454 |