Skip to main content
14-Alexandrite
April 1, 2025
Question

how to limit the number of decimals for an attribute value

  • April 1, 2025
  • 1 reply
  • 426 views

Hello,

 

I would like to create a custom legend that uses the values โ€‹โ€‹of an attribute from the EPMdoc, except that I would like to limit the number of decimal places displayed or remove the zeros.

see image in attachments

 

0.940000 should display as 0.94

0.600000 should display as 0.6

0.900000 should display as 0.9

 

Is there an argument that allows us to master this?


regards,

Arnaud

 

1 reply

Catalina
Community Moderator
April 8, 2025

Hi @ArnaudGOELZER 

Thank you for your question. 

Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.

Also, feel free to add any additional information you think might be relevant.

 

Best regards,

Catalina | PTC Community Moderator