 | 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: 10.2.1+e3fd5885edfa7211ba46258e0eed5ac221a54381
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