Commit 53025be8 authored by asikarwar's avatar asikarwar

change exchange rate int to double


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93733 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 98b0b067
...@@ -2335,7 +2335,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt ...@@ -2335,7 +2335,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
double rcpAmt = 0.0D; double rcpAmt = 0.0D;
double exch = 0.0D; double exch = 0.0D;
int instrPerSlip = 0; int instrPerSlip = 0;
int stdExRt = 0 ; double stdExRt = 0 ;
int days = 0; int days = 0;
int ctr = 0; int ctr = 0;
int currentFormNo = 0; int currentFormNo = 0;
...@@ -2556,7 +2556,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt ...@@ -2556,7 +2556,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
if (rs.next()) if (rs.next())
{ {
stdExRt = rs.getInt(1); stdExRt = rs.getDouble(1);
} }
rs.close(); rs.close();
rs = null; rs = null;
...@@ -2862,7 +2862,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt ...@@ -2862,7 +2862,7 @@ public class ReceiptAdv extends ValidatorEJB implements ReceiptAdvLocal, Receipt
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
if (rs.next()) if (rs.next())
{ {
stdExRt = rs.getInt(1); stdExRt = rs.getDouble(1);
} }
rs.close(); rs.close();
rs = null; rs = null;
......
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