--- title: "convert Double2Int()" slug: "math-convert-double-2-int" updated: 2025-11-13T06:55:33Z published: 2025-11-14T02:46:29Z canonical: "docs.lobstersoftware.com/math-convert-double-2-int" --- > ## 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. # convert Double2Int() Verwandelt eine Gleitkommazahl (Double) **a** in eine Ganzzahl (Integer). Parameter **b** bestimmt dabei, wie viele Nachkommastellen dazu den Vorkommastellen hinzugefügt werden (siehe Beispiele unten). ## Parameter | Parameter | Beschreibung | | --- | --- | | a | Wert. | | b | (optional) Anzahl der zu verwendenden Nachkommastellen. Default: *0* | ## Beispiele | Parameter a | Parameter b | Ergebnis | | --- | --- | --- | | 1.75 | | 1 | | 1.75 | 1 | 17 | | 1.75 | 2 | 175 | | 1.75 | 3 | 1750 |