Decimal
The Decimal (decimal) custom field type plugin is used to Store a number in the database
in a fixed decimal format. Ideal for exact counts and measures. (prices,
temperatures, distances, volumes, etc.)
Field Storage
| Setting |
Label |
Description |
Default |
| unsigned |
Unsigned |
Store only non-negative values (zero and positive numbers) |
FALSE |
| precision |
Precision |
The number of decimal places to store |
10 |
| scale |
Scale |
The number of digits to the right of the decimal point |
2 |
Field settings
| Setting |
Label |
Description |
| min |
Minimum |
The minimum value allowed |
| max |
Maximum |
The maximum value allowed |
| prefix |
Prefix |
A string that should be prefixed to the value |
| suffix |
Suffix |
A string that should be suffixed to the value |