Format text objects as numbers
- Last UpdatedJul 15, 2024
- 1 minute read
Text objects can be used to display static or dynamic numeric values. You can show the integer or real value of an analog tag by associating a Value Display - Analog animation link to a text object.
To specify the format of an analog tag value shown by animating a text object, the following characters are used:
|
Character |
Description |
|---|---|
|
# |
Forces the display of an analog value to an integer. |
|
0 |
Represents a digit at each specified position of a real number. Forces leading zeros to the integer part of a number. |
|
, |
Inserts a comma at the specified position of a real number. |
|
. |
Places a decimal point at the specified position of a real number. |
Other text format properties like font, size, and color apply to numeric values shown in the string.