Field types

Number

A number field for dimensions, weights, amounts and quantities. There are two field types with the same input: the decimal number (up to five decimal places) and the integer.

Three number fields in Moliri: Höhe (height) 110, Breite (width) 140,5 and Tiefe (depth) 8,5, each with the unit cm at the right edge of the field

Input

Type. The field formats as you type: thousands are separated and decimal places are limited. Both comma and point are accepted as the decimal separator. The value is saved when you leave the field.

Number field Gewicht (weight) in Moliri during input: the number 12 500,5 with a thousands separator and a decimal place, followed by the unit g

Still image: typing into a number field

If the field has several units, a selection appears next to it, for example mm, cm, m. The chosen unit applies to this object and stays set the next time you open it. If the field has exactly one unit, it is shown fixed next to the number.

An uncertain value such as ca. 120 cannot be saved. Enter the number instead and set “uncertain” in the field metadata, see Field metadata .

What is stored

The value is always stored in the base unit, regardless of the chosen unit. If the base unit is centimetres, an entry of 1,2 m is stored as 120.

This keeps values comparable and sortable, even when each object displays a different unit. The thousands separator and the unit are display only; they are not part of the stored value.

ActionBehaviour
FilterNumeric comparisons: greater than, less than, greater than or equal, less than or equal. Give comparison values in the base unit
SortingNumeric
GroupingOn the stored value
Full-text searchYes, on the stored value
Bulk editAdd, subtract, multiply, divide, round, custom formula, replace, clear
Units in the Excel import

The import does not convert. A column in metres imported into a field with the base unit centimetres results in centimetre values that mean metres. Convert in the spreadsheet beforehand, or multiply after the import with bulk edit . See Excel import .

Display and export

FormattingResult for 1234.5, unit cm
Raw value1234.5
Number1 234,50
Number with unit1 234,50 cm

“Number” outputs only the formatted number, “Number with unit” adds the unit. Since version 1.4.23 these are two separate formattings. If you had chosen the formatting on a field with a unit before, you now see the number without a unit and need to choose “Number with unit” again. You choose it in the view settings or in the Excel export .

In Word templates, imask() formats with the field’s mask. See Template functions .

Setup

Units, base unit and mask are set by the administration. See Configuring numbers .