Click or drag to resize

ModalVariableFormat Method

Formats the specified numeric value and returns the formatted text string if the value has changed from the previous call. If the value has not changed and Force is false, returns an empty string to avoid redundant output. This modal behavior reduces NC file size by eliminating repeated modal values.

Namespace: Woodwork.Automation
Assembly: WoodworkAutomation (in WoodworkAutomation.dll) Version: 14.5.1+cea593b982d79fcd8924a2e3fdf7aefc7fb02118
Syntax
string Format(
	double value
)

Parameters

value  Double
The numeric value to format and compare against the previous value.

Return Value

String
The formatted text string if the value has changed or Force is true; otherwise, an empty string.
See Also