---
description: The Number field creates an input limited to numerical values.
---

# Number

### How to use it

**Select** the File field from your field group.

<figure><img src="https://2293383029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN2nAC4pTDjEmDu8ZkLB2%2Fuploads%2FkzOhJmcVHw6vHZ5JWxuB%2Fnumber-field.png?alt=media&#x26;token=b1244151-ef9b-485c-a46f-efa1c0f35b11" alt=""><figcaption></figcaption></figure>

## FAQs

<details>

<summary>Can I add a comma as a thousand separator? e.g. $ 1,000</summary>

Yes you can, by modifying the Twig template and adding 'number\_format' for your number field.

{% code overflow="wrap" %}
```twig
{% if promo_price.value %}
	<div class="acf-view__promo-price">
		{{ promo_price.value|number_format }}
	</div>
{% endif %}
```
{% endcode %}

</details>
