Skip to main content
Solved

GI field format

  • October 21, 2024
  • 3 replies
  • 65 views

Forum|alt.badge.img

I would like the value to display as a currency with 0 decimal places and comma separators.

However, when I used a formula like CInt(x), it still showed 1,111.00, so I would like it displayed as 1,111. I also created a new field decimal type (19,0) and selected it in the schema field, it still showed the same like1,111.00. Is there any suggestion? Thanks!

Best answer by darylbowman

If you’re writing code, [PXDBDecimal(0)] should work.

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

3 replies

darylbowman
Captain II
Forum|alt.badge.img+13
  • 1728 replies
  • Answer
  • October 21, 2024

If you’re writing code, [PXDBDecimal(0)] should work.


Laura02
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3132 replies
  • October 21, 2024

Hello,

It’s helpful to see your GI, at least a screenshot. If we know what tables you are using, or what type of data you are reporting, we can better recommend a schema field to use for numeric formatting.

Laura


Forum|alt.badge.img
  • Author
  • Freshman I
  • 11 replies
  • October 22, 2024
darylbowman wrote:

If you’re writing code, [PXDBDecimal(0)] should work.

It works! thanks a lot


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