Commit a21664d4 authored by mjadhav's avatar mjadhav

set blank amount as 0 in numeric function


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97584 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 48d27d45
......@@ -1722,7 +1722,13 @@ public class GenReceiptIC extends ValidatorEJB implements GenReceiptICLocal, Gen
{
try
{
if(str == null || str.trim().length()== 0)
{
str="0";
}
double d = Double.parseDouble(str);
}
catch(NumberFormatException nfe)
{
......
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