DESCRIPTION
These components allow for several types of rounding available from the expressions component, but made unique objects here for simplicity. These include a floor and ceiling function and a round to increment function which will round the to the nearest user specified value using normal, floor, and ceiling methods.
INPUTS / OUTPUTS

 

INPUT Double Item x The double value to be rounded
INPUT Double Item y Increment to be rounded to
OUTPUT Double Item N Increment nearest to x
OUTPUT Double Item F First increment less than or equal to x
OUTPUT Double Item C First increment greater than or equal to x

 

INPUT Double Item x Number to evaluate
OUTPUT Integer Item R The floor integer value of x

 

INPUT Double Item x Number to evaluate
OUTPUT Integer Item R The ceiling integer value of x

 

DOWNLOADS
gha | Download User Objects
gh | Download Grasshopper Sample Files
MINIMUM REQUIREMENTS
Platform | Rhino 5, Grasshopper
Version | Grasshopper 0.9.0075
Type | Visual Basic Component