Skip to content

Commit 2f61025

Browse files
committed
docs: number
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
1 parent 6288a1f commit 2f61025

File tree

2 files changed

+20
-18
lines changed

2 files changed

+20
-18
lines changed
Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,31 @@
11
---
22
title: 'Number'
3-
description: 'This article explains how to create & work with a Number field.'
3+
description: 'This article explains how to create and use a Number field.'
44
tags: ['Fields', 'Field types', 'Numerical types', 'Number']
55
keywords: ['Fields', 'Field types', 'Numerical types', 'Number', 'Create number field']
66
---
77

8+
The **Number** field is a numerical field used to store integer values. It is commonly used for data such as age, salary, price, or quantity.
89

9-
`Number` field type is used to store numerical values. Use cases include storing `age`, `salary`, `price`, `quantity`, etc.
10+
<Callout type="warning">Supported range (JavaScript): -9,007,199,254,740,991 to 9,007,199,254,740,991</Callout>
1011

11-
## Create a number field
12-
1. Click on `+` icon to the right of `Fields header`
13-
2. On the dropdown modal, enter the field name (Optional).
14-
3. Select the field type as `Number` from the dropdown.
15-
4. Set default value for the field (Optional).
16-
5. Click on `Save Field` button.
12+
## Create a Number field
1713

18-
![image](/img/v2/fields/types/number.png)
14+
1. Click the `+` icon next to the last field in your table.
15+
2. Enter a name for the field.
16+
3. Select **Number** from the list of field types.
17+
4. (Optional) Toggle **Show thousands separator** to format large numbers with a thousand separator (e.g., 1,000 instead of 1000).
18+
5. (Optional) Set a default value for the field and add a description.
19+
6. Click **Save field** to add the field to your table.
1920

20-
<Callout type="note">
21-
- This field type can hold both positive and negative numbers.
22-
- Supported range (JavaScript): -9007199254740991 to 9007199254740991
23-
</Callout>
21+
Refer to the general guidelines on [creating a field](/docs/product-docs/fields#create-a-field).
2422

25-
## Similar numerical fields
26-
Following are the other numerical fields available in NocoDB, with some custom add-on features.
27-
- [Decimal](/docs/product-docs/fields/field-types/numerical/decimal)
28-
- [Percent](/docs/product-docs/fields/field-types/numerical/percent)
29-
- [Currency](/docs/product-docs/fields/field-types/numerical/currency)
23+
<Callout type="info">The Number field supports both positive and negative values.</Callout>
24+
25+
## Cell display
26+
27+
The **Number** field appears as a numeric cell in the table. Its display aligns to the right by default for clarity and consistency when handling numerical data. If the **Show thousands separator** option is enabled, large numbers will be formatted with a comma as the thousand separator.
28+
29+
![Number field cell display](/img/v2/fields/types/numerical/number.png)
30+
31+
---
63.5 KB
Loading

0 commit comments

Comments
 (0)