--- title: "first part of number()" slug: "math-first-part-of-number" updated: 2026-08-13T13:13:48Z published: 2026-08-13T13:13:48Z canonical: "docs.lobstersoftware.com/math-first-part-of-number" --- > ## 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. # first part of number() This function returns the value before the decimal separator of a number **a**. If **a** is not a numerical value, the return value of the function is *0*. See examples below. ## Parameters | Parameter | Description | | --- | --- | | a | Numerical value | ## Examples | Parameter a | Result | | --- | --- | | 100.3 | 100 | | 0.3 | 0 | | 100 | 100 | | abc | 0 |