Format: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (4 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{Description|description=Sets the output format of a numeric-type to a Prog defined numeric format. Formats used will be the same as those used for the Default Formats in the Form. Example: # 1 = `0.00' | ==Format(NUMBER#, 'FORMAT_NAME')== | ||
{{Description|description=Sets the output format of a numeric-type to a Prog defined numeric format. Formats used will be the same as those used for the Default Formats in the Form. | |||
The format name can be any format name that is located in the Formats list in Compost, an axis name, or a format definition. | |||
Example: | |||
{Format} #1 = `0.00' | |||
Format ([[FileFeet#]], 1) | |||
Format ([[EPX#]], 'X') | |||
Format ([[SPZ#]], 'Z201') | |||
Format ([[Operation#]], '#########0') | |||
}} | |||
{{See also|description=The FORMAT reference can be found in the [[Glossary]].}} | |||
{{Stats|id=406|type=Command|class=All Machines|scope=|version=N/A}} | {{Stats|id=406|type=Command|class=All Machines|scope=|version=N/A}} | ||
[[Category:Output Control]] | [[Category:Output Control]] | ||
Latest revision as of 23:38, 1 April 2014
Format(NUMBER#, 'FORMAT_NAME')
Description
Sets the output format of a numeric-type to a Prog defined numeric format. Formats used will be the same as those used for the Default Formats in the Form.
The format name can be any format name that is located in the Formats list in Compost, an axis name, or a format definition.
Example: {Format} #1 = `0.00'
Format (FileFeet#, 1)
Format (EPX#, 'X')
Format (SPZ#, 'Z201')
Format (Operation#, '#########0')
See also
The FORMAT reference can be found in the Glossary.
Stats
ID 406 Type Command Class All Machines Min Version N/A