# Multiply

This function block multiplies a set of numeric inputs and outputs the resulting product. It is useful for scaling values, combining factors, and simple math chains in your visual flow.

## 📥 Inputs <a href="#inputs" id="inputs"></a>

`Number` Socket(s) — one or more numeric input sockets (default: 2).\
This block accepts multiple numeric inputs; the active inputs are multiplied together.

## 📤 Outputs <a href="#outputs" id="outputs"></a>

`Number` The product of all connected numeric inputs.

## 🕹️ Controls <a href="#controls" id="controls"></a>

`Input size` A dropdown to set how many numeric input sockets the block provides (adjustable number of inputs from the UI).

## 🎯 Key Features <a href="#features" id="features"></a>

* Dynamic input count — expand or shrink the available input sockets to match how many values you want to multiply.
* Simple numeric operation — multiplies all connected inputs and returns a single numeric result.
* Works well inside math or data-processing chains where a single combined numeric value is required.

## ⚙️ How it runs <a href="#running-mechanism" id="running-mechanism"></a>

* The block reads all currently connected numeric inputs.
* Unconnected inputs are ignored.
* It computes the product of the provided numbers and outputs the final numeric result.
* Use the `Input size` control to change how many inputs are available before running.

## 📝 Usage Instructions <a href="#usage" id="usage"></a>

1. Set the desired number of inputs with `Input size`.
2. Connect numeric sources (constants, measured values, counters, etc.) into the available `Number` sockets.
3. Read the result from the output `Number` socket and pass it to downstream blocks.

## 💡 Tips and Tricks <a href="#tips-and-tricks" id="tips-and-tricks"></a>

* Combine with `Number Input` or `Number Range` to provide configurable constants or parameters to multiply with measured values.
* Use with `Add`, `Subtract`, or `Divide` to build arithmetic pipelines (for example: compute a scaled offset by combining `Add` and `Multiply`).
* When working with lists or batches, pair with `Batch Processing`, `Get Element`, or `Debatch` to multiply elements in a sequence.
* Use `Round` or `Absolute` after this block to format or normalize the result for display or export.
* Feed the output into `Scope` or `CSV Export` to visualize or log computed numeric results over time.
* For counting-based calculations, combine with `Counter` or outputs such as `Object Count` from detection blocks to compute rates or totals.

## 🛠️ Troubleshooting <a href="#troubleshooting" id="troubleshooting"></a>

* If the result is unexpected, check each connected `Number` input for correct values and ensure the intended sockets are connected.
* If you need to multiply a large number of values, increase `Input size` before connecting all sources.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.augelab.com/function-blocks/data-logic/mathmetical-operations/multiply.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
