Round: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Jeffm (talk | contribs)
No edit summary
Noahj (talk | contribs)
Just adding a sentence of clarification.
 
Line 5: Line 5:
  * An Axis name
  * An Axis name
  * A format definition (10.8.73 or later)
  * A format definition (10.8.73 or later)
Numbers will be rounded up from 5, down from 4. This command returns the value, so can be used in calculation and storing of variables.
}}
}}
{{Stats|id=472|type=Number|class=All Machines|scope= General|version=GibbsCAM version 11.0}}
{{Stats|id=472|type=Number|class=All Machines|scope= General|version=GibbsCAM version 11.0}}

Latest revision as of 17:22, 13 May 2016

Round#('FormatInfo', NumberCommand#)

Description

This command will accept the specified number command and return a version rounded the specified format. The format descriptor can be one of the following.

* A format name
* An Axis name
* A format definition (10.8.73 or later)

Numbers will be rounded up from 5, down from 4. This command returns the value, so can be used in calculation and storing of variables.


Stats

ID 472
Type Number
Class All Machines
Scope General
Min Version GibbsCAM version 11.0