Click or drag to resize

ReferenceVariableFormat Method

Formats the specified numeric value compared against a reference value and returns the formatted text string. Output is produced only when the value differs from the reference value beyond the format's tolerance threshold (determined by decimal precision and trim settings), or when Force is true.

Namespace: Woodwork.Automation
Assembly: WoodworkAutomation (in WoodworkAutomation.dll) Version: 10.1.0+426df26b1ad7b7c97e1fbd6e0980a0fe847fc820
Syntax
string Format(
	double value,
	double refValue
)

Parameters

value  Double
The numeric value to format and compare.
refValue  Double
The reference numeric value to compare against for tolerance checking.

Return Value

String
The formatted text string if the value differs from the reference beyond tolerance, Force is true, or the variable is enabled; otherwise, an empty string.
See Also