frappe / books

Free Accounting Software
https://frappe.io/books
GNU Affero General Public License v3.0
2.68k stars 614 forks source link

💡 [Feature Request] - Number Precision Settings/Configuration #814

Open Isaac-GC opened 5 months ago

Isaac-GC commented 5 months ago

Summary

When using number precision with two decimal places, and having three or more decimal places for the entries, the number automatically rounds up/down. As this is due to the toFixed() method, options should be implemented to allow the user to specify the desired behavior as necessary.

What problem are you trying to solve?

See summary

Basic Example

Configuration settings will be implemented. The settings will look something like:

Drawbacks

May add system complexity to the end user --> should be solved by adding the setting to an "advanced settings" or similar section

Reference Issues

https://github.com/frappe/books/issues/813