Decimal

This article explains how to create and use a Decimal field.

The Decimal field is a numerical field used to store decimal values. It is commonly used for data such as salary, price, or other values requiring fractional precision.

NocoDB supports up to 8 digits of precision.

Create a Decimal field

  1. Click the + icon next to the last field in your table.
  2. Enter a name for the field.
  3. Select Decimal from the list of field types.
  4. Configure the Precision setting (up to 8 digits).
  5. Choose a Thousands and decimal separators style for display (see Separator styles below).
  6. (Optional) Set a default value for the field and add a description.
  7. Click Save Field to add the field to your table.

Refer to the general guidelines on creating a field.

The default precision is set to 1 digit.

Separator styles

Use the Thousands and decimal separators dropdown to choose how decimal values are formatted in the cell. Pick one of the following styles:

OptionExample (1,000,000.50)
LocaleUses the viewer's browser/system locale (e.g., 1,000,000.50 in en-US, 1.000.000,50 in de-DE)
None and period1000000.50
None and comma1000000,50
Comma and period1,000,000.50
Period and comma1.000.000,50
Space and period1 000 000.50
Space and comma1 000 000,50

Decimal separator styles

Separators affect how the value is displayed. The underlying numeric value is stored without separators and is unaffected by this setting, so it remains consistent for sorting, filtering, formulas, and exports.

When entering or pasting values, you can freely include thousand separator characters (commas, periods, spaces, or non-breaking spaces). They are treated as visual noise and stripped automatically before the value is saved.

Cell display

The Decimal field appears as a numeric cell in the table, right-aligned for readability. Values are displayed with the configured precision and separator style.

Number field cell display