Could somebody make a round to nearest block?

could somebody make an extension or tell me about an existing one if there is one, that contains a block that can round a number to the nearest X number

(It would be really convenient for the project I am working on to be able to round to the nearest 24 or 12 for example)

1 Like

Is this what you were looking for?

Screenshot 2026-03-31 5.30.17 PM does this not work for you?

Just a bit of math: