Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

Analysis
Data
Display
Gems
Jewelry
Production
Profiles
Rings
Workbench

Find the nearest number under or above a given value comparing it with a list of allowed values

Inputs

NameIDDescriptionType
ValueValInput numberNumber
Valid valuesVVList of target numbersNumber
FloorFTrue: round to floor. False: round to ceiling.Boolean

Outputs

NameIDDescriptionType
NearestNNearest numberNumber

Video Tutorials

Site design © Robin Rodricks.   Peacock and associated data © 2023 Daniel Gonzalez Abalde.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service