Skip to main content

Hello all,

is it possible to use one AttributeRounder to round different attributes to different accuracies?

Let’s assume i have two attributes, A and B. I want to round A to 2 decimal places, whereas i want to round B to three decimal places. Is this possible with one AttributeRounder or do I need to use the AttributeManager.

Cheers!

As far as I can tell you would need two rounders for this case as it is not possible with conditional values (someone correct me if I am wrong please).

 

So easiest case would be as you suggested attribute manager with:

@Evaluate(@round(@Value(A),2))

@Evaluate(@round(@Value(B),3))