Author Topic: Issues while formating decimal values in export  (Read 330 times)

vijay@spinetechnologies

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 87
    • View Profile
Issues while formating decimal values in export
« on: March 27, 2023, 05:24:53 pm »
Hi Paramvir,

We have a pqGrid with some decimal columns. We applied format to decimal columns as "##,###.00".

If the cell value is zero, then in excel export cell shows .00 instead of 0.00.

You can find the same case in the given URL: https://paramquery.com/pro/demos87/export
Just need to update the Freight value as Zero for any cell and then export it to Excel.

Also, find an attached PDF for your reference

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Re: Issues while formating decimal values in export
« Reply #1 on: March 27, 2023, 07:15:24 pm »
Please use "##,##0.00" instead of "##,###.00"

vijay@spinetechnologies

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 87
    • View Profile
Re: Issues while formating decimal values in export
« Reply #2 on: March 27, 2023, 07:18:51 pm »
Thanks for your reply. Now showing in the proper format