Long
Use Long for a larger whole-number count, such as a cumulative inventory quantity. Keep serial numbers with leading zeros in Text, even when they contain only digits.
A whole-number field for larger integer values.
LONG
Use when
- Inventory: a cumulative count of 3000000000 units
Choose another type for
- Identifiers that need leading zeros
On a form
A number input with 0 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
The importer cleans the cell text and forwards it as a string. Inspect the analysis preview before confirming. Configure field settings, defaults and form rules in the destination workspace.
Example
Inventory: a cumulative count of 3000000000 units
Settings
| Setting | What it does |
|---|---|
| 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