Edit attributes to format integer and real entities for display in table columns, for instance if you need to display them as currency or percentage values. Use the
format attribute on
<vdl-table-column> elements.
This attribute takes a string representing the format to apply.
Format String Component
Meaning
0
Digit
#
Digit, zero shows as absent
.
Decimal separator
-
Negative sign
,
Grouping separator
%
Percent - multiplies number by 100
In addition to the symbols described above, you can add any arbitrary text, such as a currency symbol.