WatchExpression.NumericFormat
- Aktualisiert2025-07-21
- 1 Minute(n) Lesezeit
WatchExpression.NumericFormat
Syntax
WatchExpression.NumericFormat
Data Type
Purpose
Specifies the numeric format to use when displaying the value the WatchExpression.Evaluate method returns.
Remarks
This property applies only to watch expressions that evaluate to numeric, container, or array values. For arrays and containers, the numeric format applies to all the subproperties of an array or container. The syntax of the numeric format string is identical to the format string the C printf function accepts, with the following exceptions:
- Place a $ character after the % character in the format string to remove trailing zeros after the decimal point.
- Use a format code of %b to format a number in binary.
- Specify an empty string to set the format to the default numeric format.
See Also
Engine.DisplayEditNumericFormatDialog