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
Tags:
Hi,
could you send me this gh-file so i could take a look and find out how it works ?
(sorry, your explanation looks difficult to me - i was never good in math)...
GREAT :-)))
Thank you...
Hi Christoph,
you can use an expression to round to a fixed number of decimals (see attached).
I should probably add a component specifically for this though.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
hmmm... couldn't open the attached file.
You'll need 0.8.0050 or newer to open that file.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
what if I want to transform 2.8 into 2m not 3
Thank you for the qiuck response. I hope i'll manage that...
Looks good, but this would not work with string values from a panel (runtime error: function Round is undefined for parameters: String double).
send your file and I´ll give it a try.
Best, Peter
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by