Skip to main content
Solved

Setting the digits after the decimal point

  • November 8, 2021
  • 4 replies
  • 1153 views

when I create a custom screen by default I can enter only 2 digits after the decimal point how I can modify this parameter so that we have 3 digits after the decimal point

Best answer by Django

I think you can do this:

[PXDBDecimal(4)]

And then you might need to remove the field control and re-add it to the form.

View original
Did this topic help you find an answer to your question?

4 replies

Forum|alt.badge.img+6
  • Captain II
  • 570 replies
  • November 9, 2021

What does the DAC field definition look like?


  • Author
  • Freshman I
  • 3 replies
  • November 9, 2021

DAC field definition


Forum|alt.badge.img+6
  • Captain II
  • 570 replies
  • Answer
  • November 9, 2021

I think you can do this:

[PXDBDecimal(4)]

And then you might need to remove the field control and re-add it to the form.


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3416 replies
  • November 9, 2021

Yes,  I concur with ddunn.

If you wanted to display 3 decimals, you need to decorate your DAC attribute with [PXDBDecimal(3)]

 

PXDBDecimal(Precision) → Since this is your custom screen and custom field, also make sure that you need provide precision value for the database field as well.


Reply


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