Solved

Setting the digits after the decimal point

  • 8 November 2021
  • 4 replies
  • 990 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

icon

Best answer by Django 9 November 2021, 18:25

View original

4 replies

Userlevel 7
Badge +5

What does the DAC field definition look like?

DAC field definition

Userlevel 7
Badge +5

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.

Userlevel 7
Badge +17

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


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved