Skip to main content
14-Alexandrite
July 23, 2022
Solved

edit real number attribute

  • July 23, 2022
  • 1 reply
  • 956 views

I have created a calculated attribute of real number type.

 

I want to see only 2 characters after the comma. How can I provide?

 

onur_0-1658580504870.png

 

Best answer by OnurNalbantoglu

resolved. I used the following article on support;

Article - CS369912 - Calculated attribute not working as expected if the Round() function is used in Windchill PDMLink (ptc.com)

 

The sample formula is as follows:

 

((round((TESVIK_BULUSA_ISABET_EDEN_KISIM/2)*10))/10.00)

 

*I indicated the formula I had in the past with black color.

 

Happy Days.

1 reply

OnurNalbantoglu14-AlexandriteAuthorAnswer
14-Alexandrite
July 25, 2022

resolved. I used the following article on support;

Article - CS369912 - Calculated attribute not working as expected if the Round() function is used in Windchill PDMLink (ptc.com)

 

The sample formula is as follows:

 

((round((TESVIK_BULUSA_ISABET_EDEN_KISIM/2)*10))/10.00)

 

*I indicated the formula I had in the past with black color.

 

Happy Days.

14-Alexandrite
July 25, 2022

sample screenshot;

 

onur_0-1658758315308.png