PropertyObject.NumericFormat

Syntax

PropertyObject.NumericFormat

Data Type

String

Purpose

Specifies a numeric format string TestStand uses to format a numeric value or values in a numeric array when you call the PropertyObject.GetFormattedValue method.

Remarks

The syntax of the numeric format string is identical to the format string that 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

PropertyObject.GetDisplayNames

PropertyObject.GetFormattedValue

Thread Safety of the PropertyObject API and TestStand Variables