Round up to 5

Good evening!

I would like to round up void sizes to 5cm steps.
I searched the forum and found two ways of doing that but both don´t work.

First, there should be nodes from clockwork called Math.RoundUpToPrecision, but i can´t find them in the actual release, i can only do this for points and UV coordinates.

Second, it should work with the code “(Round(a/b, 0))*b” but i also can´t get this to work with the actual dynamo version, ‘round’ is not a valid method

Any help would be much appreciated!

Thanks in advance!

Kind Regards

This should help you out:


Works great, thank you Jacob :grinning:

1 Like