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