Round: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Jeffm (talk | contribs)
Created page with "=Round#('FormatName', NumberCommand#)= {{Description|description=This command will accept the specified number command and return a version rounded the specified format}} {{S..."
 
Noahj (talk | contribs)
Just adding a sentence of clarification.
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
=Round#('FormatName', NumberCommand#)=
=Round#('FormatInfo', NumberCommand#)=


{{Description|description=This command will accept the specified number command and return a version rounded the specified format}}
{{Description|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|version=GibbsCAM version 11.0}}
{{Stats|id=472|type=Number|class=All Machines|scope= General|version=GibbsCAM version 11.0}}




[[Category:Formatting]]
[[Category:Formatting]]

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