You can format single-line display items with format masks. When a format mask is assigned to a display item, any value fetched or assigned to the item is displayed in the format specified by the mask.
The following example shows how a format mask affects a NUMBER value:
Format Mask |
Fetched Value |
Displayed Value |
---|---|---|
$9,999,999.99 |
3246000 |
$3,246,000.00 |
A format mask can be applied to display items with the following data types:
The format mask must be compatible with the data type of the display item.
Assigning a format mask to a display item
Display item format mask symbols for NUMBER values