# Math Column

Let's suppose you need to calculate the total cost by multiplying the Price and Quantity fields:

1. Click on the `Add Column` icon -> `Add Computed Column`
2. Rename the Field
3. Click on the `Set up with Formula` icon
4. Now we should configure the Value for that Column. We will use the \* operation to calculate the Total cost value: `=item.Cost * item.Amount`
5. Now let's concatenate the Total cost with the currency $ using the CONCAT() function: `=CONCAT("$", item.Price * item.Quantity)`

{% @arcade/embed flowId="Msh0uH5NGTgs7yvedjrG" url="<https://app.arcade.software/share/Msh0uH5NGTgs7yvedjrG>" %}


---

# 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.jetadmin.io/user-guide/computed-columns/formulas/math-column.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.
