.. _auto_math_divide: *DIVIDE TWO VALUES* =================== Divides two scalar values (Value 1 ÷ Value 2) and returns the quotient. Use this worker whenever a simple arithmetic division is needed inside a workflow, such as normalising a result or computing a ratio. When to use ----------- Classification: **process**. Tagged: ``arithmetic``, ``divide``, ``math``, ``normalization``, ``ratio``, ``scalar``, ``transformation``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Numerator - value1 - scalar - 1 - ✓ - Numerator — the scalar dividend; defaults to 1. Supply any dimensionless or unit-bearing numeric value that will be divided. * - Denominator - value2 - scalar - 1 - ✓ - Denominator — the scalar divisor; defaults to 1. Must be non-zero to avoid division-by-zero; supply the value by which the numerator is divided. * - Format - format - scalar - %s - ✓ - Python-style format string (e.g. '%.4f', '%s') controlling how the output scalar is rendered; defaults to '%s' (plain string representation). Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - math_divide_output_1 - math_divide_output_1 - scalar - Quotient of Value 1 divided by Value 2, returned as a scalar and formatted according to the Format input. 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_divide `_ .. raw:: html

Auto-generated from transformation schema. Worker id: math_divide. Schema hash: 783e0cd88e66. Hand-curated docs in workerexamples/ override this page when present.