Grasshopper

algorithmic modeling for Rhino

Hello!

 

I suspect this is a bug. When Int is provided with a floating number it randomly rounds this. Like in the posted example below both 2.5 and 1.5 becomes 2. What logic decides in which direction to round off? 

3/2=1.5≈2

 

5/2=2.5≈2

 

//Oliver

Views: 313

Replies to This Discussion

Oh, sorry! Posted in the wrong forum. Feel free move it David!

Aha! I stand corrected. Didn't know it worked this way. Thought it always rounded up.

Sorry!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service