cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Unable to show any component costs that are less than $0.01

kdehal
12-Amethyst

Unable to show any component costs that are less than $0.01

Currently, we are storing cost in our system in a real number with units attribute. (this attribute type is needed to interact with Windchill Product Analytics)

When the cost is displayed to the user, value is rounded to the nearest cent and displayed in the following format $X.XX

For example, if we have a cost of $0.004, it would display at $0.00

if we have a cost of $0.005, it would display at $0.01

Does anyone know of a way to bypass/disable/fix this 'feature'?

Business Case- almost all of our electrical components are less than $0.01, and rounding these components prevents our users from being able to tell if a component is expensive or inexpensive.

ACCEPTED SOLUTION

Accepted Solutions
kdehal
12-Amethyst
(To:kdehal)

To provide an update, it seem that PTC has altered how cost attributes are displayed in 10.1m50 and 10.2, and fixed this issue.

I should have mentioned above, we are currently on 10.1m30.

Screenshot from 10.2m30

2015-09-29 10_46_48-Part - 0000000001, Precision_test1, A.1 (Design).png

View solution in original post

3 REPLIES 3
BineshKumar1
13-Aquamarine
(To:kdehal)

See whether the property com.ptc.core.meta.common.NumericToolkit.MAXIMUM_ABSOLUTE_PRECISION helps. Details are specified in https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS29710

Thank you

Binesh Kumar

Barry Wehmiller

Thanks for the link Binesh, but unfortunately it seem that this property does not affect the display of the Cost Attributes.

In the screenshot below, the value on the left is what is displayed on the details page, the value on the right is what is displayed when editing the WTPart.

2015-09-24 14_03_37-Part - 4335817, Resistor 5.11 kOhm 0603 1% 1_10W, iRobot, 1.8 (Design).png

kdehal
12-Amethyst
(To:kdehal)

To provide an update, it seem that PTC has altered how cost attributes are displayed in 10.1m50 and 10.2, and fixed this issue.

I should have mentioned above, we are currently on 10.1m30.

Screenshot from 10.2m30

2015-09-29 10_46_48-Part - 0000000001, Precision_test1, A.1 (Design).png

Announcements


Top Tags