>4 decimal places

39 views
Skip to first unread message

JAG

unread,
Mar 17, 2014, 10:24:38 PM3/17/14
to erpnext-dev...@googlegroups.com
Hi,

We need to enter an item with a purchase price of $0.01074 on a purchase order, but ERPNext seems to only be able to handle 4 decimal places.  Please change it so that it can handle at least 5 decimal places.  Thank you.

JG

Nabin Hait

unread,
Mar 18, 2014, 1:05:41 AM3/18/14
to erpnext-dev...@googlegroups.com
You can set "Float Precision" from Setup -> Global Settings.

--
Note:
 
If you are posting an issue,
1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
 
End of Note
---
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/2279f826-31bd-41ba-b5a8-9d2af4f47a44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

JAG

unread,
Mar 18, 2014, 9:49:24 AM3/18/14
to erpnext-dev...@googlegroups.com
Thanks.  I did that.  When I go to the Item Price and enter a price for an item, it is still rounding the price to 3 decimals, even though I have set the float to 5.  Any idea how to fix that?


JAG

unread,
Mar 18, 2014, 9:51:50 AM3/18/14
to erpnext-dev...@googlegroups.com
When I enter the price in the PO, it is still rounding to 3 decimals too....

Nabin Hait

unread,
Mar 19, 2014, 12:50:03 AM3/19/14
to erpnext-dev...@googlegroups.com
There are 2 type of decimal fields in the system, Float and Currency. Rate fields you looking for are type of Currency, which takes precision as per currency format. I have created an github issue for making rate field as Float field (https://github.com/frappe/erpnext/issues/1475). We will implement it in the near future.

As of now, you can change fieldtype for any field from Setup -> Customize Form.


-- 
Note:
 
If you are posting an issue,
1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
 
End of Note
--- 
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages