--- title: "min()" slug: "math-min" updated: 2026-08-13T13:15:48Z published: 2026-08-13T13:15:48Z canonical: "docs.lobstersoftware.com/math-min" --- > ## 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. # min() This function returns the smaller of the two numerical values **a** and **b** as a floating point value. A non-numerical value is interpreted as *0.0*. See examples below. ## Parameters | Parameter | Description | | --- | --- | | a | Numerical value | | b | Numerical value | ## Examples | Parameter a | Parameter b | Result | | --- | --- | --- | | 1 | 2 | 1.0 | | 2 | 1 | 1.0 | | 2 | 2 | 2.0 | | 7.1 | 7 | 7.0 | | abc | 7 | 0.0 |