Skip to main content
Solved

Reduce decimal points

  • February 4, 2026
  • 3 replies
  • 48 views

Forum|alt.badge.img

hello all,

After a bunch of research and import scenarios, yadda yadda, i found out how to shrink the amount of decimals the weight of our products is showing. However, when i edit the project, nothing reflect this change. I’ve edited it via the project editor, i’ve done the hard coding, i’m just not sure what i’m doing wrong. 

the internet tells me i need to enable and publish it, but the pages are already published. Do i need to take any further steps?

 

Best answer by kdolgner

If you’ve published after making the change and it’s still not working, try the ‘Restart Application’ action on the ‘Apply Updates’ screen.

I see the issue. There was a validation failure when publishing i was unaware off. I will have to figure out how to fix this .dll file issue since we did not create these i’m not sure i have full knowledge to delve that deep. 

3 replies

darylbowman
Captain II
Forum|alt.badge.img+16

If you’ve published after making the change and it’s still not working, try the ‘Restart Application’ action on the ‘Apply Updates’ screen.


Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • Answer
  • February 4, 2026

If you’ve published after making the change and it’s still not working, try the ‘Restart Application’ action on the ‘Apply Updates’ screen.

I see the issue. There was a validation failure when publishing i was unaware off. I will have to figure out how to fix this .dll file issue since we did not create these i’m not sure i have full knowledge to delve that deep. 


KrunalDoshi
Freshman II
Forum|alt.badge.img
  • Freshman II
  • February 11, 2026

Hi ​@kdolgner,

Try using 

[PXDBDecimal(2)]

instead of 

[PXDBQuantity(2, typeof(weightUOM), typeof(baseWeight), HandleEmptyKey = true)]

As you directly making changes into your customization project DAC, you may need to restart application. Also, check if there is any other customization which is making changes to same screen and has its level after your customization, because that will affect the behavior too.