|
|
|
---
|
|
|
|
title: 'Number'
|
|
|
|
description: 'This article explains how to create & work with a Number field.'
|
|
|
|
tags: ['Fields', 'Field types', 'Numerical types', 'Number']
|
|
|
|
keywords: ['Fields', 'Field types', 'Numerical types', 'Number', 'Create number field']
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
`Number` field type is used to store numerical values. Use cases include storing `age`, `salary`, `price`, `quantity`, etc.
|
|
|
|
|
|
|
|
## Create a number field
|
|
|
|
1. Click on `+` icon to the right of `Fields header`
|
|
|
|
2. On the dropdown modal, enter the field name (Optional).
|
|
|
|
3. Select the field type as `Number` from the dropdown.
|
|
|
|
4. Set default value for the field (Optional).
|
|
|
|
5. Click on `Save Field` button.
|
|
|
|
|
|
|
|
![image](/img/v2/fields/types/number.png)
|
|
|
|
|
|
|
|
:::info
|
|
|
|
- This field type can hold both positive and negative numbers.
|
|
|
|
- Supported range (JavaScript): -9007199254740991 to 9007199254740991
|
|
|
|
:::
|
|
|
|
|
|
|
|
## Similar numerical fields
|
|
|
|
Following are the other numerical fields available in NocoDB, with some custom add-on features.
|
|
|
|
- [Decimal](020.decimal.md)
|
|
|
|
- [Percent](030.percent.md)
|
|
|
|
- [Currency](040.currency.md)
|