Question: How To Remove Trailing Zeros At The End Of Figures

How To Remove Trailing Zeros At The End Of Figures

In some section (product edit, reports etc...) Figures display trailing zeros at the end. Which is very confusing. To solve this, I disabled Decimal and Quantity Decimals in the settings. Y

DE

Dere Ezekiel

Asked

In some section (product edit, reports etc…) Figures display trailing zeros at the end. Which is very confusing.

To solve this, I disabled Decimal and Quantity Decimals in the settings. Yet not solved.

Kindly direct me on how to solve this?

  • MS

    Mian Saleem

    Answered

    Hello,

    If you are talking about input value then it’s the exact value from db and I don’t think adding format on inputs is in the plan. For reports, can you please take the screenshot so that I can check.

    Thank you

  • R

    reid123

    Answered

    Mian Saleem Hello, I am trying to pass the total amount to Square to process the payment. The total that’s passed is 0. Are you able to help me figure out why the id “total-payable” is not passing the total. I debugged the code and I see the Id value has the total amount not 0.

  • MS

    Mian Saleem

    Answered

    Hello,

    I have no idea how are you doing this but you can get the amount with grand_total variable in javascript. You can try in console console.log(grand_total); to print the amount.

    Thank you

  • Login to Reply