Format

From Compost Wiki
Revision as of 23:37, 1 April 2014 by Jeffm (talk | contribs)
Jump to navigation Jump to search

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:

  1. 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