[4.11] Round number (Number MUST BE Divisible by 30)

I’ve been trying to round a number in 30, what do I mean?

I mean:

Let’s say I have a number: 140, it can’t be divided by 30, so, I round it to the closest number that can be divided by 30, that would be: 120.

Let’s say I have: 170, it can’t be divided by 30, so, I round it to the closest number that can be divided by 30, that would be: 180.

Any ideas how can I do this with Blueprints?

Thanks,

Alanzote.

you can divide by 30, round to nearest integer, then multiply by 30.

85446-rounding.png

you’re supposed to multiply by the divisor, not the quotient.

see my answer above.

Thank you very much, this worked perfectly!

Here is a sneak peak of my game: