Grasshopper

algorithmic modeling for Rhino

Hi,

can somone tell me how to reduce the decimal places of the values in a list?

I have a list of xyz-values up to 6 numbers after the floatingpoint and would like to reduce that (like i do in the settings of the number-slider).

 

Does anyone know?

Thanks, Christopher

 

 

Views: 23496

Replies to This Discussion

thanks a lot everybody,

the proposal from "Danny Boyes" worked fine for me!

Best regards, Christopher

Does it have to come from a panel? Why not the same source as the panel?

int(x*100)/100

you replied to a three year old thread, and 3 years later, it helped me. Thanks!

There is a tiny X on the top right corner of your comment.

That was fast. Thanks mate!

Thanks

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service