Skip to main content
Solved

Using one AttributeRounder for different accuracies

  • July 10, 2025
  • 1 reply
  • 33 views

stadimarmiladi
Contributor
Forum|alt.badge.img+8

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!

Best answer by max_h

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))

View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

max_h
Supporter
Forum|alt.badge.img+16
  • Supporter
  • Best Answer
  • July 10, 2025

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))


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings