--- title: "right truncate-number()" slug: "math-truncate-number" updated: 2026-08-13T13:17:18Z published: 2026-08-13T13:17:18Z canonical: "docs.lobstersoftware.com/math-truncate-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. # right truncate-number() This function removes all non-relevant *0* digits from the decimal places (from the right) of a numerical value **a**. If **a** is not a numerical value, the function returns *0*. ## Parameters | Parameter | Description | | --- | --- | | a | Numerical value | ## Examples | Parameter a | Result | | --- | --- | | 3.200 | 3.2 | | 2200 | 2200 | | abc | 0 |