.. _auto_math_subtract: *SUBTRACT BETWEEN TWO VALUES* ============================= Subtracts Value 2 from Value 1 and returns the scalar result (Value 1 − Value 2). Use this worker whenever a simple numeric difference is needed inside a workflow transformation chain. When to use ----------- Classification: **process**. Tagged: ``arithmetic``, ``difference``, ``math``, ``scalar``, ``subtract``, ``transformation``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Value 1 - value1 - scalar - — - ✓ - The minuend — the scalar number from which Value 2 will be subtracted; must be a numeric value (no default, required). * - Value 2 - value2 - scalar - — - ✓ - The subtrahend — the scalar number to subtract from Value 1; must be a numeric value (no default, required). Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - math_subtract_output_1 - math_subtract_output_1 - scalar - Scalar result of Value 1 − Value 2; inherits the same units as the two inputs, which are assumed to be consistent. Disciplines ----------- - data.curve.transform Runnable example ---------------- A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: `/api/workflow/example?id=math_subtract `_ .. raw:: html

Auto-generated from transformation schema. Worker id: math_subtract. Schema hash: 42f5c6236fdd. Hand-curated docs in workerexamples/ override this page when present.