 | 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.AutomationAssembly: WoodworkAutomation (in WoodworkAutomation.dll) Version: 14.5.1+cea593b982d79fcd8924a2e3fdf7aefc7fb02118
Syntaxstring Format(
double value,
double refValue
)
Function Format (
value As Double,
refValue As Double
) As String
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