Answers.Body: <p>Fixed by <a href="https://github.com/JMAConsulting/biz.jmaconsulting.lineitemedit/pull/42" rel="nofollow noreferrer">https://github.com/JMAConsulting/biz.jmaconsulting.lineitemedit/pull/42</a>
  Thanks for the help of Monish Deb and Joe Murray.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-19T07:15:31.993Z
Answers.LastActivityDate: 2019-07-19T07:15:31.993Z
Answers.UserDisplayName: Davy Ivins
Body: <p>I'm using the Edit Line Item Extension ver2.1 (biz.jmaconsulting.lineitemedit) on Civi 5.13.4 and the latest Drupal 7. I have a paid event where bookings are made via webform-civicrm.</p>
  
  <p>If I edit a lineitem where the cost (unit price multiplied by quantity) exceeds 999.00, the tax amount calculates to NaN.N. I can submit the change but the tax amount is zero.
  If I add a new line item where the amount exceeds 999.00 the tax amount again reflects as NaN.N, and I cannot save the change. 
  Any ideas?
  Many thanks, Davy</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-06-19T16:12:23.533Z
Comments.Text: Can you try this PR if it helps to fix your problem https://github.com/JMAConsulting/biz.jmaconsulting.lineitemedit/pull/36 ?
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-06-20T07:31:44.343Z
Comments.Text: Thanks @PradeepNayak. Afraid it doesn't help.
Comments.UserDisplayName: Davy Ivins
Tags: <drupal><civicontribute><line-items>
Title: Edit Line Item error: Tax for amounts above 999.00 = NaN.N
ThreadText: # Edit Line Item error: Tax for amounts above 999.00 = NaN.N
  
  (Asked by: username_0 on 2019-06-19)
  
  I'm using the Edit Line Item Extension ver2.1 (biz.jmaconsulting.lineitemedit) on Civi 5.13.4 and the latest Drupal 7. I have a paid event where bookings are made via webform-civicrm.
  
  If I edit a lineitem where the cost (unit price multiplied by quantity) exceeds 999.00, the tax amount calculates to NaN.N. I can submit the change but the tax amount is zero.
  If I add a new line item where the amount exceeds 999.00 the tax amount again reflects as NaN.N, and I cannot save the change.
  Any ideas?
  Many thanks, username_0
  
  **Tags:** drupal, civicontribute, line-items
  
  > **Comments:**
  > **username_1**: Can you try this PR if it helps to fix your problem https://github.com/JMAConsulting/biz.jmaconsulting.lineitemedit/pull/36 ?  
  > **username_0**: Thanks @username_1. Afraid it doesn't help.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2019-07-19. Score: 2 | Accepted answer
  
  Fixed by <https://github.com/JMAConsulting/biz.jmaconsulting.lineitemedit/pull/42>
  Thanks for the help of Monish Deb and Joe Murray.
  
  
  ---
  
  