>4 decimal places

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



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-forum+un…@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.
You can set "Float Precision" from Setup -> Global Settings.

On 18-Mar-2014, at 7:54 am, JAG <ja...@pcbgrip.com> wrote:

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



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-forum+un…@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.



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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/20901066-A082-4738-BB31-695D6834FC68%40gmail.com.

    For more options, visit https://groups.google.com/d/optout.
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?




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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/37e50df5-6236-42ab-9e20-f08ef8c4b609%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
When I enter the price in the PO, it is still rounding to 3 decimals too....

On Tuesday, March 18, 2014 9:49:24 AM UTC-4, JAG wrote:
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?




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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/85c7889c-243b-4442-b9a7-c8f6875f8415%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
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.


On 18-Mar-2014, at 7:21 pm, JAG <ja...@pcbgrip.com> wrote:

When I enter the price in the PO, it is still rounding to 3 decimals too....

On Tuesday, March 18, 2014 9:49:24 AM UTC-4, JAG wrote:
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?



-- 
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-forum+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/85c7889c-243b-4442-b9a7-c8f6875f8415%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/C4D3FCE3-B0C2-4A48-8CC6-EF88046A07E8%40gmail.com.

    For more options, visit https://groups.google.com/d/optout.