Skip to content

Field Properties - Number & Currency Tab - Number Mask

When the custom currency format is selected, the options to format the number will be enabled. If a custom mask format is selected, the number mask entry will be enabled, and the mask must be built using the supported number format/layout.

The mask can also be set using a function.

An example of such a function is:

if ({?LeadingZeroes} = True) then
    // Set a 0 in the LZ part of the mask
    return "0.00;1.1;(-1.1);,;."
else
    // Omit a zero in the LZ part of the mask
    return ".00;1.1;(-1.1);,;."
end