Hello,
I would like to round numbers to the nearest 0.05. Like this:
-2.33 > -2.35
-2.32 > -2.30
Is this possible within the AttributeRounder? Or how can I get this result?
Thanks in advance,
Eva
Hello,
I would like to round numbers to the nearest 0.05. Like this:
-2.33 > -2.35
-2.32 > -2.30
Is this possible within the AttributeRounder? Or how can I get this result?
Thanks in advance,
Eva
You can do this in an attribute creator
@round(@Value(number)*20)/20.0
A possible way is: multiply the original value by 2, round the resulting value with the AttributeRounder (Decimal Places: 1, Round Off Direction: Nearest), divide the resulting value by 2.
You can do this in an attribute creator
@round(@Value(number)*20)/20.0
Ah yes that works! Thanks for the quick reply :-)
A possible way is: multiply the original value by 2, round the resulting value with the AttributeRounder (Decimal Places: 1, Round Off Direction: Nearest), divide the resulting value by 2.
This also works, thanks!