# Number Field

Use the **Number field** to collect numeric values during envelope processing.

You can place this field in:

* structured documents
* PDF documents

### Add a number field

<figure><img src="/files/lFNKNG1C4VM2Pa8HenNh" alt=""><figcaption></figcaption></figure>

1. Open the template in edit mode.
2. In the **Fields** panel find the **Number field** and add it to the template.
3. Configure the field and click **Save**.

### Field settings

Click on the placed field to reopen settings menu.

{% columns %}
{% column width="58.333333333333336%" %}

* **Name** — field name shown in the document
* **Role name** — role that fills the field
* **Placeholder** — hint text shown before input (if empty, **Name** is used)
* **Tooltip** — additional hint shown on hover
* **Optional** — whether filling the field is required
* **Search** — makes the field available for search/filtering in the mailbox UI (if enabled in your setup)
* **Adapt to the local format** — formats numbers using the participant’s region settings
* **Show decimal zeroes** — adds trailing zeroes to match **Precision**
* **Precision** — number of decimal places allowed (leave empty for no limit)
* **Min** — minimum allowed value (leave empty for no limit)
* **Max** — maximum allowed value (leave empty for no limit)
  {% endcolumn %}

{% column width="41.666666666666664%" %}

<figure><img src="/files/ES3nme3DJ4k6YslzetOC" alt="" width="319"><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

{% hint style="info" %}
In the envelope view, numbers use the region selected on the **User profile** page.

In printable versions, numbers always use the platform region standard.
{% endhint %}

#### Precision behavior

If the value has more decimals than **precision**, extra decimals are trimmed.

No rounding is applied.

Example:

* `1.99` → `1.9` when **precision** is `1`
* `1.99` → `1` when **precision** is `0`

{% hint style="danger" %}
**Limits**:

The maximum allowed character count is **15** (IEEE 754).

This includes decimal places.

Example: with **precision** = `3`, the value `999999999999999` becomes `999999999999.000`.
{% endhint %}


---

# 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://support.docstudio.com/user/template-builder/template-dynamic-fields/number-field.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.
