Grasshopper

algorithmic modeling for Rhino

Guys, I have a basic question that how could i round a floating point to an integer.
for example, round 7.25 to 8

thanks

Views: 442

Attachments:

Replies to This Discussion

You could use a function component with floor(x) or ceiling(x)
thanks for your help Daniel, problem solved.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service