# Options

![Calculator dialog](/files/PPIj9wEl48eJigz1VL3r)

Fill in the following fields in the table. Entries in **Field A**, **Field B**, and/or **Field C** are used by the selected calculator function in the **Calculation** field.

| Column                                    | Description                                                                                                                                                                                                                                                                                                                                                 |
| ----------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **New field**                             | Specify the name of the field.                                                                                                                                                                                                                                                                                                                              |
| **Calculation**                           | When you click or press in this field, the Select the calculation type dialog box appears. Enter the calculator function to use in the transformation. A description of each function is in the Calculator Functions List. Use the **Filter** field to search for a specific function.                                                                      |
| **Field A**, **Field B**, and **Field C** | Enter the value(s) for executing the specified calculator function in the **Calculation** field.                                                                                                                                                                                                                                                            |
| **Value type**                            | Select the field's data type from the dropdown list or enter it manually.                                                                                                                                                                                                                                                                                   |
| **Length**                                | <p>Specify the length of the field, according to the following field types:</p><ul><li><strong>Number</strong>: Total number of significant figures in a number.</li><li><strong>String</strong>: Total length of the string.</li><li><strong>Date</strong>: Length of printed output of the string (for example, 'four' is a length for a year).</li></ul> |
| **Precision**                             | Specify the number of floating point digits for number-type fields.                                                                                                                                                                                                                                                                                         |
| **Remove**                                | Remove this field from the result (output) after all values are calculated. This field is useful for removing temporary values. Select **N** or **Y**.                                                                                                                                                                                                      |
| **Conversion mask**                       | Specify a format for the field, such as a date format. See [Common Formats](/pdia-data-integration/10.2-data-integration/pdi-transformation-steps-reference-overview/common-formats.md) for information on common valid date formats you can use in this step.                                                                                              |
| **Decimal symbol**                        | Specify the symbol used to represent a decimal point, either a dot (.) or a comma (,). For example, 5,000.00 or 5.000,00.                                                                                                                                                                                                                                   |
| **Grouping symbol**                       | Specify the method used to separate units of thousands in numbers of four digits or larger, either a dot (.) or a comma (,). For example, 5,000 or 5.000.                                                                                                                                                                                                   |
| **Currency symbol**                       | Specify the symbol used to represent currencies, for example, $ or €.                                                                                                                                                                                                                                                                                       |

The Calculator step also allows you to indicate if you want errors displayed for the following condition:

* Select the **Throw an error on non existing files** check box if you want the transformation to generate an error when there are no files to process.


---

# 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.pentaho.com/pdia-data-integration/10.2-data-integration/pdi-transformation-steps-reference-overview/calculator/options-calculator.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.
