bug in invoice and quote with separator


when I change the settings to German to get a “,” as a decimal_separator and “.” as thousand_separator it is not used in the fields “Unit costs” and “Quantity”. I always have to use the wrong separator in the form fields. How to fix this?
thanks a lot.

The values are only formatted using the localization settings on the invoice PDF.

Within the app you always need to use ‘.’ as the decimal separator.

More info: https://github.com/invoiceninja/invoiceninja/issues/437

Thanks, thats bad. Your link shows that this is not solved…
is there an ETA when it will be fixed?
Is it in development?
Thank you.

We’re considering fixing this in the future but it isn’t planned for an upcoming release.

hmmm…sound like a bigger project to fix this since it involved tons of changes? Or is it just not on the schedule? Any hints where to start to get it done? Thanks

Sorry, not sure. I haven’t looked into it too much yet.

From a quick search I don’t think this is going to be an easy fix.


thanks. How is accounting.js involved in this?
I have found this:


// Standard usage and parameters (returns number):
accounting.unformat(string, [decimal]);

// Example usage:
accounting.unformat("GBP £ 12,345,678.90"); // 12345678.9

// If a non-standard decimal separator was used (eg. a comma) unformat() will need it in order to work out
// which part of the number is a decimal/float:
accounting.unformat("€ 1.000.000,00", ","); // 1000000

And also this option: