# Number (Integer) Fields

Integer fields are optimized for holding whole numbers. They are essential when you need to count items or denote a rank, storing values like 5. These fields use numeric inputs and allow for customization by setting minimum and maximum value limits, providing control over the range of acceptable inputs.

{% hint style="info" %}
**Technical Limits**: Integer fields are limited by JavaScript's maximum safe integer value of **9,007,199,254,740,991** (approximately 9 quadrillion). Values larger than this limit may not be handled correctly and could cause validation errors.
{% endhint %}

## Integer Number Field Formats

* **Default** By default, the integer number field shows a formatted number such as 1,234,000
* **Currency** Display the number as a currency, and choose the specific currency symbol. For example: £1,234,000
* **Rating** Display the number as a star rating. You can configure how many stars should be displayed (the max value)
* **Unformatted** This displays the number without formatting, such as 1234000. This is useful for numbers that aren't really numbers, like Postcodes, or Object IDs
* **Slider** Displays the number as a slider when used as an input, and a visually similar progress bar otherwise. Configure the min, max, and step value of the slider.

{% hint style="info" %}
**Numbers** are displayed based on your browser settings
{% endhint %}

## Integer Field Options

* **Allow negative numbers** Depending on the format chosen above, you can optionally enable or disable the use of negative numbers in the field, which will be enforced in all forms
* **Prefix** Configure a prefix for your numbers, such as `USD 123,000`
* **Suffix** Configure a suffix to your numbers, such as `12,000 Books`

## Use Cases

Integer fields are perfect for:

* Counting items (inventory, users, etc.)
* Rankings and scores
* Quantities and amounts
* Ratings and reviews
* IDs and reference numbers (using unformatted display)
* Progress tracking (using slider format)

## Best Practices

* Use Currency format for monetary values without decimals
* Use Rating format for user feedback and scoring systems
* Use Slider format for values within a specific range
* Set appropriate min/max limits to prevent invalid data entry
* Use prefixes and suffixes to provide context (e.g., "USD" prefix, "items" suffix)


---

# 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://guides.noloco.io/data/collections/field-types/number-integer.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.
