Hi All,
Following the next thread:
I want to round number by 50 places ie. if I have 150 >>>150, 136 >>>> 150, 151 >>>> 200, and so on…
Can I do it with round() built-in function or I have to make a custom function?
Any help will be appreciated.
Thanks!
Not familiar with the Python methods but it should be doable. You can also use DesignScript methods in Python if you load DSCore Nodes.
1 Like
@Nick_Boyts thanks for the answer, and how would you do it with DesignScript methods?
Nice solution @erfajo. Only I want to always round “up”, ie. 516 >>>>> 550, 510>>>>>550.
Sorry I thought you were specifically looking for Python solutions.
Round node is from Clockwork.
2 Likes
Thanks. I’ll check what’s the algorith in that node. Actually, I was looking for the algorithm. Thanks both @erfajo and @Nick_Boyts
1 Like