--- title: "convert Int2Double()" slug: "math-convert-int-2-double" updated: 2026-08-13T13:10:54Z published: 2026-08-13T13:10:54Z canonical: "docs.lobstersoftware.com/math-convert-int-2-double" --- > ## 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 Int2Double() This function converts the integer number **a** into a floating-point number (double). Parameter **b** specifies how many decimal places are to be used for this (see examples below). ## Parameters | Parameter | Description | | --- | --- | | a | Value | | b | (optional) Number of decimal places. Default: *0* | ## Examples | Parameter a | Parameter b | Result | | --- | --- | --- | | 175 | | 175 | | 175 | 1 | 17.5 | | 175 | 2 | 1.75 | | 175 | 3 | 0.175 |