Format of Quantity values

Hi, I am running Invoice Ninja v4.5.11 (self-hosted) and want to know if we can change the format of the Quantity column on the invoices. Currently, the values we enter show like this:

1
0.5
0.25

We would like to have all quantity values formatted to 2 decimal places like this:

1.00
0.50
0.25

Is this possible? Thanks!

It would require modifying the source code.

I’m ok with modifying the source code, and understand it would be reverted when upgrading.

Would you be able to point me to the relevant files/lines?

Thank you.

Here’s a starting point:

https://github.com/invoiceninja/invoiceninja/blob/master/resources/assets/js/pdf.pdfmake.js#L907

Also, review this:

https://invoice-ninja.readthedocs.io/en/latest/developer_guide.html#code

Thanks I will take a look at those!