Decimal number field

The field stores a number with decimals.

You can set how many decimals are shown in the forms and grids.

Remember that the number is saved in the database with all the decimals entered, so if you choose to show it with fewer decimals, it will appear rounded down or up. In calculation expressions and scripts the full, unrounded number is always used.

Field parameters

Number of decimals
Selects how many decimals are shown.
Column total
If selected, the program shows the sum of the column in the grids.
Default value
Sets the value automatically on a new record. You can also enter the key of a constant (for example $keyname). If the default value entered isn't compatible with the field type, it is discarded.