Text Formatting for XpressionAdd a format attribute to the XPression text object Metadata to allow for custom formatting to be applied to the text object on playback format metadata examples:format | data | result |
---|
0.000 | 0.5 | 0.500 | 00.00 | 1.2 | 01.20 | [##-##-##] | 123456 | 1,234,567,890 | (###)###-#### | 1234567890 | (123)456-7890 | Today's High: {0} | 82 | Today's High: 82 | P | 0.256 | 25.6% | P0 | 0.256 | 25% | P2 | 0.256 | 25.60% | h:mm | 2020-11-24 5:00:00 PM | 5:00 | h:mm tt | 2020-11-24 5:00:00 PM | 5:00 PM | H:mm:ss | 2020-11-24 5:00:00 PM | 17:00:00 | yyyy | 2020-11-24 5:00:00 PM | 2020 | ddd MMM d | 2020-11-24 5:00:00 PM | Tues Nov 24 | dddd | 2020-11-24 5:00:00 PM | Tuesday | C | 1.45 | $1.45 |
For additional formats see MS standard strings for reference
|