Commit ec195de6 authored by ngadkari's avatar ngadkari

Change in direct parsing of string to double

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@202185 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 4e6046d8
......@@ -11343,8 +11343,8 @@ public class SalesReturn extends ValidatorEJB implements SalesReturnLocal, Sales
System.out.println("adjQty["+adjQty+"] curRecQuantity["+curRecInvQuantity+"]");
invoiceId=invoiceId.trim();// trim() by Nandkumar Gadkari on 25/10/18
dQtyAdj = Double.parseDouble(adjQty);
dCurRecInvQty = Double.parseDouble(curRecInvQuantity);
dQtyAdj = adjQty == null || adjQty.trim().length()== 0 ? 0 :Double.parseDouble(adjQty);
dCurRecInvQty = curRecInvQuantity == null || curRecInvQuantity.trim().length()== 0 ? 0 : Double.parseDouble(curRecInvQuantity);
System.out.println("dQtyAdj["+dQtyAdj+"] dCurRecInvQty["+dCurRecInvQty+"]");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment