多维表格
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.0 KiB

---
title: 'Decimal'
description: 'This article explains how to create & work with a Decimal field.'
tags: ['Fields', 'Field types', 'Numerical types', 'Decimal']
keywords: ['Fields', 'Field types', 'Numerical types', 'Decimal', 'Create decimal field']
---
`Decimal` field type is used to store decimal values. Use cases include storing `salary`, `price`, etc. NocoDB supports precision of upto 8 digits.
## Create a decimal 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 `Decimal` from the dropdown.
4. Configure `Precision`- NocoDB supports upto 8 digits of precision.
5. Set default value for the field (Optional).
6. Click on `Save Field` button.
![image](/img/v2/fields/types/decimal.png)
:::info
- Default decimal precision is 1 digit
:::
## Similar numerical fields
Following are the other numerical fields available in NocoDB, with some custom add-on features.
- [Number](010.number.md)
- [Percent](030.percent.md)
- [Currency](040.currency.md)