Decimal
Capture quantities with fractions, such as 12.75 hours on a service invoice. Decimal places controls the displayed precision; Currency adds a currency code to a monetary amount.
A number with configurable decimal places.
DECIMAL
Use when
- Invoice: 12.75 hours of service
Choose another type for
- Choosing a currency code
On a form
A number input with a decimal separator and configurable decimal places.
In views
Can be selected for configured data view columns. Spreadsheet editing is offered for own, non-key fields of this type when the column is editable.
In Smart Script
getCurrentValue() has a String return type for every field type; an unset value can be null. Parse with parseInt or parseFloat before arithmetic.
Import and export
Use digits and a decimal point in numeric import cells. Review the analysis preview before confirming. Configure numeric display settings on the field.
Example
Invoice: 12.75 hours of service
Settings
| Setting | What it does |
|---|---|
| Decimal places | Sets how many decimal places to display. |
| Show in record details | Includes this field in the record details; forms and data views are configured separately. |
| Show in the record header | Includes this field among the record header fields. |
| Position | Sets the order in record details; lower numbers appear first. |
| Virtual field | Computes the value at display time instead of storing it. |
| Encrypt values | Choose encryption when you create the field. |
| Encryption key | Select an ACTIVE encryption key. |
| Default value | Sets a plain value or Smart Script for new records. |
Name the field
Section titled “Name the field”Start the field name with an English letter. Use letters, digits, spaces and underscores.
What's next
Last checked