 | UtilityCreateFormat Method |
Defines how codes are formatted before being output to the NC file.
Namespace: Woodwork.AutomationAssembly: WoodworkAutomation (in WoodworkAutomation.dll) Version: 2.1.25
SyntaxFormat CreateFormat(
Object formatDescriptor
)
Function CreateFormat (
formatDescriptor As Object
) As Format
Parameters
- formatDescriptor Object
- Object define how to Format value.
Return Value
Format
The Format object define by formatDescriptor.
var myFormat = Utility.CreateFormat({decimals:3, trim:false, forceSign:true});
myFormat.Output(4.5);
See Also