algorithmic modeling for Rhino
Yup, Ceiling returns the first integer larger than or equal to the input value. In some cases your input is exactly 10.0. In other cases your input is every so slightly below 10.0, ie. 9.99999999997. And in some cases your input will be slightly above 10.0, ie. 10.00000000002. In this last case the Ceiling is actually 11, not 10 any more.
Since Grasshopper rounds number values when it displays them in panels or tooltips, numbers like 9.9999999997 and 10.00000000002 will both appear as 10.0, but the actual values are slightly off.
Welcome to
Grasshopper
© 2025 Created by Scott Davidson.
Powered by