多维表格
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.

75 lines
2.5 KiB

---
title: 'Currency'
description: 'This article explains how to create & work with a Currency field.'
tags: ['Fields', 'Field types', 'Numerical types', 'Currency']
keywords: ['Fields', 'Field types', 'Numerical types', 'Currency', 'Create currency field']
---
`Currency` field type is used to store currency values. It is a numerical field with additional provision to set the currency symbol in display.
## Create 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 `Currency` from the dropdown.
4. Configure `Currency Locale` : defaults to `en-US`
5. Configure `Currency Symbol` : defaults to `$`
6. Set default value for the field (Optional).
7. Click on `Save Field` button.
![image](/img/v2/fields/types/currency.png)
### Cell display
![image](/img/v2/fields/currency-cell-display.png)
### Supported locales
https://www.npmjs.com/package/locale-codes#locale-list
:::note
NocoDB adheres to ISO639-1 standard for locale codes.
:::
### Supported currencies
| | | | | | |
|-----|-----|-----|-----|-----|-----|
| AED | AFN | ALL | AMD | ANG | AOA |
| ARS | AUD | AWG | AZN | BAM | BBD |
| BDT | BGN | BHD | BIF | BMD | BND |
| BOB | BOV | BRL | BSD | BTN | BWP |
| BYR | BZD | CAD | CDF | CHE | CHF |
| CHW | CLF | CLP | CNY | COP | COU |
| CRC | CUP | CVE | CYP | CZK | DJF |
| DKK | DOP | DZD | EEK | EGP | ERN |
| ETB | EUR | FJD | FKP | GBP | GEL |
| GHC | GIP | GMD | GNF | GTQ | GYD |
| HKD | HNL | HRK | HTG | HUF | IDR |
| ILS | INR | IQD | IRR | ISK | JMD |
| JOD | JPY | KES | KGS | KHR | KMF |
| KPW | KRW | KWD | KYD | KZT | LAK |
| LBP | LKR | LRD | LSL | LTL | LVL |
| LYD | MAD | MDL | MGA | MKD | MMK |
| MNT | MOP | MRO | MTL | MUR | MVR |
| MWK | MXN | MXV | MYR | MZN | NAD |
| NGN | NIO | NOK | NPR | NZD | OMR |
| PAB | PEN | PGK | PHP | PKR | PLN |
| PYG | QAR | ROL | RON | RSD | RUB |
| RWF | SAR | SBD | SCR | SDD | SEK |
| SGD | SHP | SIT | SKK | SLL | SOS |
| SRD | STD | SYP | SZL | THB | TJS |
| TMM | TND | TOP | TRY | TTD | TWD |
| TZS | UAH | UGX | USD | USN | USS |
| UYU | UZS | VEB | VND | VUV | WST |
| XAF | XAG | XAU | XBA | XBB | XBC |
| XBD | XCD | XDR | XFO | XFU | XOF |
| XPD | XPF | XPT | XTS | XXX | YER |
| ZAR | ZMK | ZWD | | | |
## Similar numerical fields
Following are the other numerical fields available in NocoDB, with some custom add-on features.
- [Number](010.number.md)
- [Decimal](020.decimal.md)
- [Percent](030.percent.md)