Try ERPNext Buy Support Partners Foundation

How to adjust decimal digits in ERPNext

Please I want know how to reduce the decimal digits from .000 to .00. Example in valuation rate 5.000 to 5.00.
Thanks

in script you can handle with round function in python

round(answer, 2)

Go to Setup > System Settings > Date and Number Format > Float Precision .
Set value to 2.

See screenshot below.

1 Like

can we set this only for Sales invoice? i mean we want to send invoice to client with no decimal digits… but we do use 4 decimal digit in our accounting… if i change it in system settings, it’s applied to all document…

Refer this article , last section

https://docs.erpnext.com/docs/user/manual/en/customize-erpnext/articles/set-precision#:~:text=In%20ERPNext%2C%20default%20precision%20for,or%20for%20a%20specific%20field.&text=Alternatively%2C%20you%20can%20also%20set%20field%20specific%20precision.

1 Like

thanks! solve my problem!