--- title: "a - b" slug: "math-subtract" updated: 2026-08-13T13:00:26Z published: 2026-08-13T13:00:26Z canonical: "docs.lobstersoftware.com/math-subtract" --- > ## 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. # a - b This function subtracts **b** from **a**. ## Parameters | Parameter | Description | | --- | --- | | a | Value | | b | Value | ## Examples | Parameter a | Parameter b | Result | | --- | --- | --- | | | | 0.0 | | 1 | 2 | -1.0 | | 2.5 | 1.5 | 1.0 |