# Numbers processor

Performs number related operations.

The Numbers processor allows you to apply various functions to fields with a numeric data type, such as formatting, comparing, or rounding numbers.

## Usage

The Numbers processor requires one input flow and can generate only one output flow.

## Properties

Properties to configure to perform operations on your Number fields.

Configuration

| Property | Configuration |
| --- | --- |
| Function name | <ul> <li> <p><span>Round value using halfUp mode</span>: Rounds value to the closest number, depending on the precision you set. (3.14 -&gt; 3 and 3.74 -&gt; 4 if <span>Precision</span> is set to 0).</p> </li> <li> <p><span>Round value using ceil mode</span>: Rounds up value to the nearest number, depending on the precision you set. (3.14 -&gt; 4 if <span>Precision</span> is set to 0, and 3.14 -&gt; 3.2 if <span>Precision</span> is set to 1).</p> </li> <li> <p><span>Round value using floor mode</span>: Rounds down value to the nearest number, depending on the precision you set. (3.74 -&gt; 3 if <span>Precision</span> is set to 0, and 3.74 -&gt; 3.7 if <span>Precision</span> is set to 1).</p> </li> <li> <p><span>Round value using down mode</span>: Rounds towards zero. (3.74 -&gt; 3 and -3.74 -&gt; -3 for a <span>Precision</span> set to 0).</p> </li> <li> <p><span>Remove fractional part</span>: Rounds towards zero. (3.74 -&gt; 3) and (-3.74 -&gt; -3).</p> </li> <li> <p><span>Compare numbers</span>: Compares this record to another record or a constant.</p> </li> <li> <p><span>Remove negative values</span>: Replaces negative integers or decimal values with an empty values.</p> </li> <li> <p><span>Convert to numbers</span>: Interprets a string as number using decimal and thousand separators specified manually.</p> </li> <li> <p><span>Format number</span>: Changes how numeric values are displayed using predefined patterns or custom patterns.</p> </li> </ul> |
| Fields to process | Select the field or fields on which you want to apply a function in the list. |
| Create new field | Enable this option to create a new field after applying the function. If you do not enable this option, the existing field will be kept and modified. |
| Rename new field | Give a custom name to the newly created field. |

To rename the processor or edit its description, point your mouse over the name or description to change in the Properties panel and click the Edit icon.